Home
last modified time | relevance | path

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

/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp365 int route_idx) in audio_config_compare() argument
368 ALOG_ASSERT(route_idx > -1); in audio_config_compare()
369 ALOG_ASSERT(route_idx < MAX_ROUTES); in audio_config_compare()
370 ALOGD("submix_audio_device_create_pipe_l(addr=%s, idx=%d)", address, route_idx); in audio_config_compare()
375 in->route_handle = route_idx; in audio_config_compare()
376 rsxadev->routes[route_idx].input = in; in audio_config_compare()
377 rsxadev->routes[route_idx].config.input_channel_mask = config->channel_mask; in audio_config_compare()
379 rsxadev->routes[route_idx].config.input_sample_rate = config->sample_rate; in audio_config_compare()
383 if (!rsxadev->routes[route_idx].output) { in audio_config_compare()
384 rsxadev->routes[route_idx].config.output_sample_rate = 48000; in audio_config_compare()
[all …]