Searched refs:appl_ptr (Results 1 – 14 of 14) sorted by relevance
/linux-2.6.39/include/sound/ |
D | pcm-indirect.h | 37 snd_pcm_uframes_t appl_ptr; /* Last seen appl_ptr */ member 52 snd_pcm_uframes_t appl_ptr = runtime->control->appl_ptr; in snd_pcm_indirect_playback_transfer() local 53 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect_playback_transfer() 60 rec->appl_ptr = appl_ptr; in snd_pcm_indirect_playback_transfer() 118 snd_pcm_uframes_t appl_ptr = runtime->control->appl_ptr; in snd_pcm_indirect_capture_transfer() local 119 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect_capture_transfer() 125 rec->appl_ptr = appl_ptr; in snd_pcm_indirect_capture_transfer()
|
D | rawmidi.h | 71 size_t appl_ptr; /* application pointer */ member
|
D | asound.h | 404 snd_pcm_uframes_t appl_ptr; /* appl ptr */ member 423 snd_pcm_uframes_t appl_ptr; /* RW: appl ptr (0...boundary-1) */ member
|
D | pcm.h | 607 …_pcm_sframes_t avail = runtime->status->hw_ptr + runtime->buffer_size - runtime->control->appl_ptr; in snd_pcm_playback_avail() 620 snd_pcm_sframes_t avail = runtime->status->hw_ptr - runtime->control->appl_ptr; in snd_pcm_capture_avail()
|
/linux-2.6.39/sound/drivers/ |
D | pcm-indirect2.c | 251 snd_pcm_uframes_t appl_ptr = runtime->control->appl_ptr; in snd_pcm_indirect2_playback_transfer() local 258 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect2_playback_transfer() 271 rec->appl_ptr = appl_ptr; in snd_pcm_indirect2_playback_transfer() 287 (unsigned int)appl_ptr); in snd_pcm_indirect2_playback_transfer() 419 snd_pcm_uframes_t appl_ptr = runtime->control->appl_ptr; in snd_pcm_indirect2_capture_transfer() local 420 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect2_capture_transfer() 429 rec->appl_ptr = appl_ptr; in snd_pcm_indirect2_capture_transfer() 448 (unsigned int)appl_ptr); in snd_pcm_indirect2_capture_transfer()
|
D | pcm-indirect2.h | 90 snd_pcm_uframes_t appl_ptr; /* Last seen appl_ptr */ member
|
D | aloop.c | 413 snd_pcm_uframes_t appl_ptr, appl_ptr1, diff; in copy_play_buf() local 414 appl_ptr = appl_ptr1 = runtime->control->appl_ptr; in copy_play_buf() 417 if (appl_ptr < appl_ptr1) in copy_play_buf() 419 diff = (appl_ptr - appl_ptr1) * play->pcm_salign; in copy_play_buf()
|
/linux-2.6.39/sound/core/ |
D | pcm_compat.c | 186 u32 appl_ptr; member 212 put_user(status.appl_ptr, &src->appl_ptr) || in snd_pcm_status_user_compat() 370 u32 appl_ptr; member 402 get_user(scontrol.appl_ptr, &src->c.control.appl_ptr) || in snd_pcm_ioctl_sync_ptr_compat() 418 control->appl_ptr = scontrol.appl_ptr; in snd_pcm_ioctl_sync_ptr_compat() 420 scontrol.appl_ptr = control->appl_ptr % boundary; in snd_pcm_ioctl_sync_ptr_compat() 435 put_user(scontrol.appl_ptr, &src->c.control.appl_ptr) || in snd_pcm_ioctl_sync_ptr_compat()
|
D | pcm_native.c | 601 status->appl_ptr = runtime->control->appl_ptr; in snd_pcm_status() 1275 runtime->control->appl_ptr = runtime->status->hw_ptr; in snd_pcm_post_reset() 1321 runtime->control->appl_ptr = runtime->status->hw_ptr; in snd_pcm_post_prepare() 2187 snd_pcm_sframes_t appl_ptr; in snd_pcm_playback_rewind() local 2221 appl_ptr = runtime->control->appl_ptr - frames; in snd_pcm_playback_rewind() 2222 if (appl_ptr < 0) in snd_pcm_playback_rewind() 2223 appl_ptr += runtime->boundary; in snd_pcm_playback_rewind() 2224 runtime->control->appl_ptr = appl_ptr; in snd_pcm_playback_rewind() 2235 snd_pcm_sframes_t appl_ptr; in snd_pcm_capture_rewind() local 2269 appl_ptr = runtime->control->appl_ptr - frames; in snd_pcm_capture_rewind() [all …]
|
D | pcm_lib.c | 49 if (runtime->silence_start != runtime->control->appl_ptr) { in snd_pcm_playback_silence() 50 n = runtime->control->appl_ptr - runtime->silence_start; in snd_pcm_playback_silence() 57 runtime->silence_start = runtime->control->appl_ptr; in snd_pcm_playback_silence() 1862 snd_pcm_uframes_t frames, appl_ptr, appl_ofs; in snd_pcm_lib_write1() local 1880 cont = runtime->buffer_size - runtime->control->appl_ptr % runtime->buffer_size; in snd_pcm_lib_write1() 1888 appl_ptr = runtime->control->appl_ptr; in snd_pcm_lib_write1() 1889 appl_ofs = appl_ptr % runtime->buffer_size; in snd_pcm_lib_write1() 1905 appl_ptr += frames; in snd_pcm_lib_write1() 1906 if (appl_ptr >= runtime->boundary) in snd_pcm_lib_write1() 1907 appl_ptr -= runtime->boundary; in snd_pcm_lib_write1() [all …]
|
D | rawmidi.c | 134 runtime->appl_ptr = runtime->hw_ptr = 0; in snd_rawmidi_runtime_create() 178 runtime->appl_ptr = runtime->hw_ptr = 0; in snd_rawmidi_drop_output() 221 runtime->appl_ptr = runtime->hw_ptr = 0; in snd_rawmidi_drain_input() 946 count1 = runtime->buffer_size - runtime->appl_ptr; in snd_rawmidi_kernel_read1() 953 memcpy(kernelbuf + result, runtime->buffer + runtime->appl_ptr, count1); in snd_rawmidi_kernel_read1() 957 runtime->buffer + runtime->appl_ptr, count1)) { in snd_rawmidi_kernel_read1() 962 runtime->appl_ptr += count1; in snd_rawmidi_kernel_read1() 963 runtime->appl_ptr %= runtime->buffer_size; in snd_rawmidi_kernel_read1() 1184 count1 = runtime->buffer_size - runtime->appl_ptr; in snd_rawmidi_kernel_write1() 1190 memcpy(runtime->buffer + runtime->appl_ptr, in snd_rawmidi_kernel_write1() [all …]
|
D | pcm.c | 466 snd_iprintf(buffer, "appl_ptr : %ld\n", runtime->control->appl_ptr); in snd_pcm_substream_proc_status_read()
|
/linux-2.6.39/sound/core/oss/ |
D | pcm_oss.c | 1650 size = runtime->control->appl_ptr % runtime->period_size; in snd_pcm_oss_sync() 1973 snd_pcm_uframes_t appl_ptr; in snd_pcm_oss_simulate_fill() local 1974 appl_ptr = hw_ptr + runtime->buffer_size; in snd_pcm_oss_simulate_fill() 1975 appl_ptr %= runtime->boundary; in snd_pcm_oss_simulate_fill() 1976 runtime->control->appl_ptr = appl_ptr; in snd_pcm_oss_simulate_fill()
|
/linux-2.6.39/sound/pci/asihpi/ |
D | asihpi.c | 793 runtime->control->appl_ptr)); in snd_card_asihpi_timer_function()
|