Searched refs:alsa_hw_params (Results 1 – 3 of 3) sorted by relevance
/system/media/alsa_utils/ |
D | alsa_logging.c | 59 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 …]
|
D | alsa_device_profile.c | 384 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/ |
D | alsa_logging.h | 23 void log_pcm_params(struct pcm_params * alsa_hw_params);
|