Home
last modified time | relevance | path

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

/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp403 struct submix_config * const device_config = &rsxadev->routes[route_idx].config; in audio_config_compare() local
440 memcpy(&device_config->common, config, sizeof(device_config->common)); in audio_config_compare()
441 device_config->buffer_size_frames = sink->maxFrames(); in audio_config_compare()
442 device_config->buffer_period_size_frames = device_config->buffer_size_frames / in audio_config_compare()
444 if (in) device_config->pipe_frame_size = audio_stream_in_frame_size(&in->stream); in audio_config_compare()
445 if (out) device_config->pipe_frame_size = audio_stream_out_frame_size(&out->stream); in audio_config_compare()
448 device_config->pipe_frame_size = (device_config->pipe_frame_size * pipe_channel_count) / in audio_config_compare()
452 "period size %zd", device_config->pipe_frame_size, in audio_config_compare()
453 device_config->buffer_size_frames, device_config->buffer_period_size_frames); in audio_config_compare()