Home
last modified time | relevance | path

Searched refs:pcm_buf (Results 1 – 7 of 7) sorted by relevance

/external/qemu/audio/
Desdaudio.c60 void *pcm_buf; member
70 void *pcm_buf; member
127 hw->clip (esd->pcm_buf, src, chunkSamples); in qesd_run_out()
130 nwrite = write (esd->fd, esd->pcm_buf, chunkBytes); in qesd_run_out()
204 esd->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift); in qesd_init_out()
205 if (!esd->pcm_buf) { in qesd_init_out()
232 qemu_free (esd->pcm_buf); in qesd_init_out()
233 esd->pcm_buf = NULL; in qesd_init_out()
252 qemu_free (esd->pcm_buf); in qesd_fini_out()
253 esd->pcm_buf = NULL; in qesd_fini_out()
[all …]
Dwavaudio.c41 void *pcm_buf; member
90 dst = advance (wav->pcm_buf, rpos << hw->info.shift); in wav_out_run()
157 wav->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift); in wav_out_init()
158 if (!wav->pcm_buf) { in wav_out_init()
173 qemu_free (wav->pcm_buf); in wav_out_init()
174 wav->pcm_buf = NULL; in wav_out_init()
206 qemu_free (wav->pcm_buf); in wav_out_fini()
207 wav->pcm_buf = NULL; in wav_out_fini()
233 void* pcm_buf; member
322 wav->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift); in wav_in_init()
[all …]
Dossaudio.c41 void *pcm_buf; member
51 void *pcm_buf; member
371 dst = advance (oss->pcm_buf, rpos << hw->info.shift); in oss_run_out()
422 if (oss->pcm_buf) { in oss_fini_out()
424 err = munmap (oss->pcm_buf, hw->samples << hw->info.shift); in oss_fini_out()
427 oss->pcm_buf, hw->samples << hw->info.shift); in oss_fini_out()
431 qemu_free (oss->pcm_buf); in oss_fini_out()
433 oss->pcm_buf = NULL; in oss_fini_out()
483 oss->pcm_buf = mmap ( in oss_init_out()
491 if (oss->pcm_buf == MAP_FAILED) { in oss_init_out()
[all …]
Dalsaaudio.c105 void *pcm_buf; member
112 void *pcm_buf; member
627 dst = advance (alsa->pcm_buf, rpos << hw->info.shift); in alsa_run_out()
683 if (alsa->pcm_buf) { in alsa_fini_out()
684 qemu_free (alsa->pcm_buf); in alsa_fini_out()
685 alsa->pcm_buf = NULL; in alsa_fini_out()
723 alsa->pcm_buf = audio_calloc (AUDIO_FUNC, obt.samples, 1 << hw->info.shift); in alsa_init_out()
724 if (!alsa->pcm_buf) { in alsa_init_out()
814 alsa->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift); in alsa_init_in()
815 if (!alsa->pcm_buf) { in alsa_init_in()
[all …]
Daudio.h117 int AUD_write (SWVoiceOut *sw, void *pcm_buf, int size);
138 int AUD_read (SWVoiceIn *sw, void *pcm_buf, int size);
/external/qemu/distrib/sdl-1.2.12/src/audio/nto/
DSDL_nto_audio.c260 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()
DSDL_nto_audio.h48 Uint8* pcm_buf; member
62 #define pcm_buf (this->hidden->pcm_buf) macro