Home
last modified time | relevance | path

Searched refs:alsa_hw_params (Results 1 – 3 of 3) sorted by relevance

/system/media/alsa_utils/
Dalsa_logging.c59 void log_pcm_params(struct pcm_params * alsa_hw_params) in log_pcm_params() argument
62 pcm_params_get_min(alsa_hw_params, PCM_PARAM_SAMPLE_BITS), in log_pcm_params()
63 pcm_params_get_max(alsa_hw_params, PCM_PARAM_SAMPLE_BITS)); in log_pcm_params()
65 pcm_params_get_min(alsa_hw_params, PCM_PARAM_FRAME_BITS), in log_pcm_params()
66 pcm_params_get_max(alsa_hw_params, PCM_PARAM_FRAME_BITS)); in log_pcm_params()
68 pcm_params_get_mask(alsa_hw_params, PCM_PARAM_FORMAT)); in log_pcm_params()
70 pcm_params_get_mask(alsa_hw_params, PCM_PARAM_SUBFORMAT)); in log_pcm_params()
72 pcm_params_get_min(alsa_hw_params, PCM_PARAM_CHANNELS), in log_pcm_params()
73 pcm_params_get_max(alsa_hw_params, PCM_PARAM_CHANNELS)); in log_pcm_params()
75 pcm_params_get_min(alsa_hw_params, PCM_PARAM_RATE), in log_pcm_params()
[all …]
Dalsa_device_profile.c384 struct pcm_params * alsa_hw_params = in read_alsa_device_config() local
386 if (alsa_hw_params == NULL) { in read_alsa_device_config()
390 profile->min_period_size = pcm_params_get_min(alsa_hw_params, PCM_PARAM_PERIOD_SIZE); in read_alsa_device_config()
391 profile->max_period_size = pcm_params_get_max(alsa_hw_params, PCM_PARAM_PERIOD_SIZE); in read_alsa_device_config()
393 profile->min_channel_count = pcm_params_get_min(alsa_hw_params, PCM_PARAM_CHANNELS); in read_alsa_device_config()
394 profile->max_channel_count = pcm_params_get_max(alsa_hw_params, PCM_PARAM_CHANNELS); in read_alsa_device_config()
402 log_pcm_params(alsa_hw_params); in read_alsa_device_config()
405 config->channels = pcm_params_get_min(alsa_hw_params, PCM_PARAM_CHANNELS); in read_alsa_device_config()
409 config->channels < 2 && pcm_params_get_max(alsa_hw_params, PCM_PARAM_CHANNELS) >= 2) { in read_alsa_device_config()
412 config->rate = pcm_params_get_min(alsa_hw_params, PCM_PARAM_RATE); in read_alsa_device_config()
[all …]
/system/media/alsa_utils/include/
Dalsa_logging.h23 void log_pcm_params(struct pcm_params * alsa_hw_params);