Home
last modified time | relevance | path

Searched refs:pcm_handle (Results 1 – 2 of 2) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/audio/alsa/
DSDL_alsa_audio.c325 status = SDL_NAME(snd_pcm_writei)(pcm_handle, sample_buf, sample_len); in ALSA_PlayAudio()
334 status = SDL_NAME(snd_pcm_resume)(pcm_handle); in ALSA_PlayAudio()
338 status = SDL_NAME(snd_pcm_prepare)(pcm_handle); in ALSA_PlayAudio()
363 if ( pcm_handle ) { in ALSA_CloseAudio()
364 SDL_NAME(snd_pcm_drain)(pcm_handle); in ALSA_CloseAudio()
365 SDL_NAME(snd_pcm_close)(pcm_handle); in ALSA_CloseAudio()
366 pcm_handle = NULL; in ALSA_CloseAudio()
381 …status = SDL_NAME(snd_pcm_open)(&pcm_handle, get_audio_device(spec->channels), SND_PCM_STREAM_PLAY… in ALSA_OpenAudio()
390 status = SDL_NAME(snd_pcm_hw_params_any)(pcm_handle, hwparams); in ALSA_OpenAudio()
398 …status = SDL_NAME(snd_pcm_hw_params_set_access)(pcm_handle, hwparams, SND_PCM_ACCESS_RW_INTERLEAVE… in ALSA_OpenAudio()
[all …]
DSDL_alsa_audio.h38 snd_pcm_t *pcm_handle; member
49 #define pcm_handle (this->hidden->pcm_handle) macro