Home
last modified time | relevance | path

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

/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp138 size_t pipe_frame_size; // Number of bytes in each audio frame in the pipe. member
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()
615 const size_t pipe_frame_size = config->pipe_frame_size; in audio_config_compare() local
616 const size_t max_frame_size = max(stream_frame_size, pipe_frame_size); in audio_config_compare()
617 return (pipe_frames * config->pipe_frame_size) / max_frame_size; in audio_config_compare()