Lines Matching refs:pcm_buf
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()
318 if (!wav->pcm_buf) { in wav_in_init()
341 qemu_free (wav->pcm_buf); in wav_in_fini()
342 wav->pcm_buf = NULL; in wav_in_fini()
378 src = advance (wav->pcm_buf, wpos << hw->info.shift); in wav_in_run()