Home
last modified time | relevance | path

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

/device/generic/goldfish/audio/
Dstream_common.cpp36 , m_config(config) in StreamCommon()
41 return util::countChannels(m_config.channelMask) in getFrameSize()
42 * util::getBytesPerSample(m_config.format); in getFrameSize()
46 return m_config.frameCount; in getFrameCount()
54 return m_config.sampleRateHz; in getSampleRate()
59 if (m_config.format == format) { in getSupportedSampleRates()
60 _hidl_cb(Result::OK, {m_config.sampleRateHz}); in getSupportedSampleRates()
72 return m_config.channelMask; in getChannelMask()
77 if (m_config.format == format) { in getSupportedChannelMasks()
78 _hidl_cb(Result::OK, {m_config.channelMask}); in getSupportedChannelMasks()
[all …]
Dstream_common.h60 const AudioConfig m_config; member
Dstream_in.h91 const AudioConfig &getAudioConfig() const { return mCommon.m_config; } in getAudioConfig()
Dstream_out.h101 const AudioConfig &getAudioConfig() const { return mCommon.m_config; } in getAudioConfig()