Searched refs:alsa_config (Results 1 – 1 of 1) sorted by relevance
1472 const char* device_name, alsa_config_t alsa_config) in hfp_playback_device_open() argument1476 unsigned int rate = alsa_config.sample_rate; in hfp_playback_device_open()1477 snd_pcm_uframes_t period_size = alsa_config.period_size; in hfp_playback_device_open()1478 snd_pcm_uframes_t buffer_size = alsa_config.buffer_size; in hfp_playback_device_open()1511 err = snd_pcm_hw_params_set_channels(*playback_handle, hw_params, alsa_config.channels); in hfp_playback_device_open()1516 printf("setting channels (%d)\n", alsa_config.channels); in hfp_playback_device_open()1557 const char* device_name, alsa_config_t alsa_config) in hfp_capture_device_open() argument1561 unsigned int rate = alsa_config.sample_rate; in hfp_capture_device_open()1562 snd_pcm_uframes_t period_size = alsa_config.period_size; in hfp_capture_device_open()1563 snd_pcm_uframes_t buffer_size = alsa_config.buffer_size; in hfp_capture_device_open()[all …]