Searched refs:audio_MIN (Results 1 – 12 of 12) sorted by relevance
/external/qemu/audio/ |
D | noaudio.c | 52 bytes = audio_MIN (bytes, INT_MAX); in no_run_out() 56 decr = audio_MIN (live, samples); in no_run_out() 111 bytes = audio_MIN (bytes, INT_MAX); in no_run_in() 113 samples = audio_MIN (samples, dead); in no_run_in() 122 int to_clear = audio_MIN (samples, total); in no_read()
|
D | wavaudio.c | 77 decr = audio_MIN (live, samples); in wav_out_run() 82 int convert_samples = audio_MIN (samples, left_till_end_samples); in wav_out_run() 370 decr = audio_MIN (live, samples); in wav_in_run() 375 int convert_samples = audio_MIN (samples, left_till_end_samples); in wav_in_run()
|
D | audio.h | 152 #define audio_MIN(a, b) ( __extension__ ({ \ macro 164 #define audio_MIN(a, b) ((a)>(b)?(b):(a)) macro
|
D | paaudio.c | 125 int chunk = audio_MIN (to_mix, hw->samples - rpos); in qpa_thread_out() 163 decr = audio_MIN (live, pa->decr); in qpa_run_out() 220 int chunk = audio_MIN (to_grab, hw->samples - wpos); in qpa_thread_in() 259 incr = audio_MIN (dead, pa->incr); in qpa_run_in()
|
D | esdaudio.c | 152 int chunk = audio_MIN (to_mix, hw->samples - rpos); in qesd_thread_out() 207 decr = audio_MIN (live, esd->decr); in qesd_run_out() 361 int chunk = audio_MIN (to_grab, hw->samples - wpos); in qesd_thread_in() 418 incr = audio_MIN (dead, esd->incr); in qesd_run_in()
|
D | winaudio.c | 272 int wav_samples = audio_MIN(wav_bytes >> hw->info.shift, live); in winaudio_out_run() 273 int hw_samples = audio_MIN(hw->samples - hw->rpos, live); in winaudio_out_run() 532 int wav_samples = audio_MIN(wav_bytes >> hw->info.shift, live); in winaudio_in_run() 533 int hw_samples = audio_MIN(hw->samples - hw->wpos, live); in winaudio_in_run()
|
D | audio.c | 947 m = audio_MIN (m, sw->total_hw_samples_acquired); in audio_pcm_hw_find_min_in() 967 int len = audio_MIN (left, live); in audio_pcm_hw_clip_out() 974 int samples_to_clip = audio_MIN (len, samples_till_end_of_buf); in audio_pcm_hw_clip_out() 1028 swlim = audio_MIN (swlim, samples); in audio_pcm_sw_read() 1072 m = audio_MIN (m, sw->total_hw_samples_mixed); in audio_pcm_hw_find_min_out() 1135 swlim = audio_MIN (swlim, samples); in audio_pcm_sw_write() 1143 blck = audio_MIN (dead, left); in audio_pcm_sw_write() 1455 int to_write = audio_MIN (till_end_of_hw, n); in audio_capture_mix_and_clear() 1473 n = audio_MIN (samples, hw->samples - rpos); in audio_capture_mix_and_clear() 1628 int to_capture = audio_MIN (live, left); in audio_run_capture()
|
D | ossaudio.c | 396 int samples_to_write = audio_MIN (oss->pending, samples_till_end); in oss_write_pending() 445 decr = audio_MIN (bytes >> hw->info.shift, live); in oss_run_out() 471 decr = audio_MIN (abinfo.bytes >> hw->info.shift, live); in oss_run_out()
|
D | alsaaudio.c | 788 int len = audio_MIN (alsa->pending, left_till_end_samples); in alsa_write_pending() 857 decr = audio_MIN (live, avail); in alsa_run_out() 1101 decr = audio_MIN (dead, avail); in alsa_run_in()
|
D | fmodaudio.c | 477 len = audio_MIN (len, dead); in fmod_run_in()
|
D | coreaudio.c | 481 decr = audio_MIN (core->decr, live); in coreaudio_run_out()
|
D | dsoundaudio.c | 812 len = audio_MIN (len, dead); in dsound_run_in()
|