Home
last modified time | relevance | path

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

/external/qemu/audio/
Daudio_pt_int.c34 logerr (p, errno, "%s(%s): sigfillset failed", cap, AUDIO_FUNC); in audio_pt_init()
61 cap, AUDIO_FUNC); in audio_pt_init()
77 logerr (p, err2, "%s(%s): pthread_cond_destroy failed", cap, AUDIO_FUNC); in audio_pt_init()
83 logerr (p, err2, "%s(%s): pthread_mutex_destroy failed", cap, AUDIO_FUNC); in audio_pt_init()
87 logerr (p, err, "%s(%s): %s failed", cap, AUDIO_FUNC, efunc); in audio_pt_init()
97 logerr (p, err, "%s(%s): pthread_cond_destroy failed", cap, AUDIO_FUNC); in audio_pt_fini()
103 logerr (p, err, "%s(%s): pthread_mutex_destroy failed", cap, AUDIO_FUNC); in audio_pt_fini()
115 logerr (p, err, "%s(%s): pthread_mutex_lock failed", cap, AUDIO_FUNC); in audio_pt_lock()
127 logerr (p, err, "%s(%s): pthread_mutex_unlock failed", cap, AUDIO_FUNC); in audio_pt_unlock()
139 logerr (p, err, "%s(%s): pthread_cond_wait failed", cap, AUDIO_FUNC); in audio_pt_wait()
[all …]
Desdaudio.c122 if (audio_pt_lock (&esd->pt, AUDIO_FUNC)) { in qesd_thread_out()
138 if (audio_pt_wait (&esd->pt, AUDIO_FUNC)) { in qesd_thread_out()
146 if (audio_pt_unlock (&esd->pt, AUDIO_FUNC)) { in qesd_thread_out()
184 if (audio_pt_lock (&esd->pt, AUDIO_FUNC)) { in qesd_thread_out()
194 audio_pt_unlock (&esd->pt, AUDIO_FUNC); in qesd_thread_out()
203 if (audio_pt_lock (&esd->pt, AUDIO_FUNC)) { in qesd_run_out()
212 audio_pt_unlock_and_signal (&esd->pt, AUDIO_FUNC); in qesd_run_out()
215 audio_pt_unlock (&esd->pt, AUDIO_FUNC); in qesd_run_out()
260 esd->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift); in qesd_init_out()
273 if (audio_pt_init (&esd->pt, qesd_thread_out, esd, AUDIO_CAP, AUDIO_FUNC)) { in qesd_init_out()
[all …]
Dpaaudio.c95 if (audio_pt_lock (&pa->pt, AUDIO_FUNC)) { in qpa_thread_out()
111 if (audio_pt_wait (&pa->pt, AUDIO_FUNC)) { in qpa_thread_out()
119 if (audio_pt_unlock (&pa->pt, AUDIO_FUNC)) { in qpa_thread_out()
140 if (audio_pt_lock (&pa->pt, AUDIO_FUNC)) { in qpa_thread_out()
150 audio_pt_unlock (&pa->pt, AUDIO_FUNC); in qpa_thread_out()
159 if (audio_pt_lock (&pa->pt, AUDIO_FUNC)) { in qpa_run_out()
168 audio_pt_unlock_and_signal (&pa->pt, AUDIO_FUNC); in qpa_run_out()
171 audio_pt_unlock (&pa->pt, AUDIO_FUNC); in qpa_run_out()
190 if (audio_pt_lock (&pa->pt, AUDIO_FUNC)) { in qpa_thread_in()
206 if (audio_pt_wait (&pa->pt, AUDIO_FUNC)) { in qpa_thread_in()
[all …]
Daudio_template.h60 if (audio_bug (AUDIO_FUNC, !voice_size && max_voices)) { in glue()
66 if (audio_bug (AUDIO_FUNC, voice_size && !max_voices)) { in glue()
83 HWBUF = audio_calloc (AUDIO_FUNC, hw->samples, sizeof (struct st_sample)); in glue()
117 sw->buf = audio_calloc (AUDIO_FUNC, samples, sizeof (struct st_sample)); in glue()
255 if (audio_bug (AUDIO_FUNC, !drv)) { in glue()
260 if (audio_bug (AUDIO_FUNC, !drv->pcm_ops)) { in glue()
265 hw = audio_calloc (AUDIO_FUNC, 1, glue (drv->voice_size_, TYPE)); in glue()
283 if (audio_bug (AUDIO_FUNC, hw->samples <= 0)) { in glue()
358 sw = audio_calloc (AUDIO_FUNC, 1, sizeof (*sw)); in glue()
398 if (audio_bug (AUDIO_FUNC, !card)) { in glue()
[all …]
Daudio.c535 if (audio_bug (AUDIO_FUNC, !prefix)) { in audio_process_options()
540 if (audio_bug (AUDIO_FUNC, !opt)) { in audio_process_options()
902 sc = audio_calloc (AUDIO_FUNC, 1, sizeof (*sc)); in audio_attach_capture()
956 if (audio_bug (AUDIO_FUNC, live < 0 || live > hw->samples)) { in audio_pcm_hw_get_live_in()
994 if (audio_bug (AUDIO_FUNC, live < 0 || live > hw->samples)) { in audio_pcm_sw_get_rpos_in()
1017 if (audio_bug (AUDIO_FUNC, live < 0 || live > hw->samples)) { in audio_pcm_sw_read()
1043 if (audio_bug (AUDIO_FUNC, osamp < 0)) { in audio_pcm_sw_read()
1094 if (audio_bug (AUDIO_FUNC, live < 0 || live > hw->samples)) { in audio_pcm_hw_get_live_out()
1118 if (audio_bug (AUDIO_FUNC, live < 0 || live > hwsamples)){ in audio_pcm_sw_write()
1401 if (audio_bug (AUDIO_FUNC, live < 0 || live > sw->hw->samples)) { in audio_get_avail()
[all …]
Daudio_int.h285 #define AUDIO_FUNC __FUNCTION__ macro
287 #define AUDIO_FUNC __FILE__ ":" AUDIO_STRINGIFY (__LINE__) macro
Dwavaudio.c152 wav->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift); in wav_out_init()
317 wav->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift); in wav_in_init()
Dmixeng.c301 struct rate *rate = audio_calloc (AUDIO_FUNC, 1, sizeof (*rate)); in st_rate_start()
Dossaudio.c596 AUDIO_FUNC, in oss_init_out()
715 oss->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift); in oss_init_in()
Dalsaaudio.c912 alsa->pcm_buf = audio_calloc (AUDIO_FUNC, obt.samples, 1 << hw->info.shift); in alsa_init_out()
1017 alsa->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift); in alsa_init_in()
Dfmodaudio.c260 if (audio_bug (AUDIO_FUNC, decr < 0)) { in fmod_run_out()
Ddsoundaudio.c645 if (audio_bug (AUDIO_FUNC, len < 0 || len > bufsize)) { in dsound_run_out()