/external/qemu/audio/ |
D | wavaudio.c | 41 void *pcm_buf; member 85 dst = advance (wav->pcm_buf, rpos << hw->info.shift); in wav_out_run() 152 wav->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift); in wav_out_init() 153 if (!wav->pcm_buf) { in wav_out_init() 168 qemu_free (wav->pcm_buf); in wav_out_init() 169 wav->pcm_buf = NULL; in wav_out_init() 201 qemu_free (wav->pcm_buf); in wav_out_fini() 202 wav->pcm_buf = NULL; in wav_out_fini() 228 void* pcm_buf; member 317 wav->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift); in wav_in_init() [all …]
|
D | paaudio.c | 50 void *pcm_buf; member 61 void *pcm_buf; member 128 hw->clip (pa->pcm_buf, src, chunk); in qpa_thread_out() 130 if (FF(pa_simple_write) (pa->s, pa->pcm_buf, in qpa_thread_out() 221 void *buf = advance (pa->pcm_buf, wpos); in qpa_thread_in() 356 pa->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift); in qpa_init_out() 357 if (!pa->pcm_buf) { in qpa_init_out() 370 qemu_free (pa->pcm_buf); in qpa_init_out() 371 pa->pcm_buf = NULL; in qpa_init_out() 410 pa->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift); in qpa_init_in() [all …]
|
D | esdaudio.c | 76 void *pcm_buf; member 87 void *pcm_buf; member 155 hw->clip (esd->pcm_buf, src, chunk); in qesd_thread_out() 158 written = write (esd->fd, esd->pcm_buf, chunk << hw->info.shift); in qesd_thread_out() 260 esd->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift); in qesd_init_out() 261 if (!esd->pcm_buf) { in qesd_init_out() 287 qemu_free (esd->pcm_buf); in qesd_init_out() 288 esd->pcm_buf = NULL; in qesd_init_out() 311 qemu_free (esd->pcm_buf); in qesd_fini_out() 312 esd->pcm_buf = NULL; in qesd_fini_out() [all …]
|
D | ossaudio.c | 47 void *pcm_buf; member 58 void *pcm_buf; member 398 void *pcm = advance (oss->pcm_buf, oss->wpos << hw->info.shift); in oss_write_pending() 477 decr = audio_pcm_hw_clip_out (hw, oss->pcm_buf, decr, oss->pending); in oss_run_out() 492 if (oss->pcm_buf) { in oss_fini_out() 494 err = munmap (oss->pcm_buf, hw->samples << hw->info.shift); in oss_fini_out() 497 oss->pcm_buf, hw->samples << hw->info.shift); in oss_fini_out() 501 qemu_free (oss->pcm_buf); in oss_fini_out() 503 oss->pcm_buf = NULL; in oss_fini_out() 553 oss->pcm_buf = mmap ( in oss_init_out() [all …]
|
D | alsaaudio.c | 119 void *pcm_buf; member 127 void *pcm_buf; member 789 char *src = advance (alsa->pcm_buf, alsa->wpos << hw->info.shift); in alsa_write_pending() 858 decr = audio_pcm_hw_clip_out (hw, alsa->pcm_buf, decr, alsa->pending); in alsa_run_out() 871 if (alsa->pcm_buf) { in alsa_fini_out() 872 qemu_free (alsa->pcm_buf); in alsa_fini_out() 873 alsa->pcm_buf = NULL; in alsa_fini_out() 912 alsa->pcm_buf = audio_calloc (AUDIO_FUNC, obt.samples, 1 << hw->info.shift); in alsa_init_out() 913 if (!alsa->pcm_buf) { in alsa_init_out() 1017 alsa->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift); in alsa_init_in() [all …]
|
D | audio.h | 117 int AUD_write (SWVoiceOut *sw, void *pcm_buf, int size); 138 int AUD_read (SWVoiceIn *sw, void *pcm_buf, int size);
|
D | audio_int.h | 226 int audio_pcm_hw_clip_out (HWVoiceOut *hw, void *pcm_buf,
|
D | audio.c | 963 int audio_pcm_hw_clip_out (HWVoiceOut *hw, void *pcm_buf, in audio_pcm_hw_clip_out() argument 972 uint8_t *dst = advance (pcm_buf, hw->rpos << hw->info.shift); in audio_pcm_hw_clip_out()
|
/external/qemu/distrib/sdl-1.2.15/src/audio/nto/ |
D | SDL_nto_audio.c | 260 pcmbuffer = pcm_buf; in NTO_PlayAudio() 264 written = snd_pcm_plugin_write(audio_handle, pcm_buf, towrite); in NTO_PlayAudio() 322 return pcm_buf; in NTO_GetAudioBuf() 357 if (pcm_buf != NULL) in NTO_OpenAudio() 359 SDL_FreeAudioMem(pcm_buf); in NTO_OpenAudio() 360 pcm_buf = NULL; in NTO_OpenAudio() 477 pcm_buf = (Uint8*)SDL_AllocAudioMem(pcm_len); in NTO_OpenAudio() 478 if (pcm_buf == NULL) in NTO_OpenAudio() 483 SDL_memset(pcm_buf, spec->silence, pcm_len); in NTO_OpenAudio()
|
D | SDL_nto_audio.h | 48 Uint8* pcm_buf; member 62 #define pcm_buf (this->hidden->pcm_buf) macro
|