Searched defs:hwparams (Results 1 - 1 of 1) sorted by relevance
/vbox/src/VBox/RDP/client-1.8.3/ |
H A D | rdpsnd_alsa.c | 177 snd_pcm_hw_params_t *hwparams = NULL; local 186 if ((err = snd_pcm_hw_params_malloc(&hwparams)) < 0) 192 if ((err = snd_pcm_hw_params_any(pcm, hwparams)) < 0) 198 if ((err = snd_pcm_hw_params_set_access(pcm, hwparams, SND_PCM_ACCESS_RW_INTERLEAVED)) < 0) 206 if ((err = snd_pcm_hw_params_set_format(pcm, hwparams, SND_PCM_FORMAT_S16_LE)) < 0) 214 if ((err = snd_pcm_hw_params_set_format(pcm, hwparams, SND_PCM_FORMAT_S8)) < 0) 222 if ((err = snd_pcm_hw_params_set_rate_resample(pcm, hwparams, 1)) < 0) 230 if ((err = snd_pcm_hw_params_set_rate_near(pcm, hwparams, &rate, 0)) < 0) 237 if ((err = snd_pcm_hw_params_set_channels(pcm, hwparams, pwfx->nChannels)) < 0) 245 if ((err = snd_pcm_hw_params_set_buffer_time_near(pcm, hwparams, [all...] |
Completed in 50 milliseconds