Home
last modified time | relevance | path

Searched refs:audio_MIN (Results 1 – 12 of 12) sorted by relevance

/external/qemu/audio/
Dnoaudio.c52 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()
Dwavaudio.c77 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()
Daudio.h152 #define audio_MIN(a, b) ( __extension__ ({ \ macro
164 #define audio_MIN(a, b) ((a)>(b)?(b):(a)) macro
Dpaaudio.c125 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()
Desdaudio.c152 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()
Dwinaudio.c272 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()
Daudio.c947 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()
Dossaudio.c396 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()
Dalsaaudio.c788 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()
Dfmodaudio.c477 len = audio_MIN (len, dead); in fmod_run_in()
Dcoreaudio.c481 decr = audio_MIN (core->decr, live); in coreaudio_run_out()
Ddsoundaudio.c812 len = audio_MIN (len, dead); in dsound_run_in()