Home
last modified time | relevance | path

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

/device/generic/goldfish/audio/
Ddevice_port_source.cpp56 , mSampleRateHz(cfg.base.sampleRateHz) in TinyalsaSource()
64 cfg.base.sampleRateHz, in TinyalsaSource()
239 , mSampleRateHz(cfg.base.sampleRateHz) in GeneratedSource()
327 explicit BusySignalGenerator(const uint32_t sampleRateHz) : mSampleRateHz(sampleRateHz) { in BusySignalGenerator()
329 const size_t sz = sampleRateHz / 20; in BusySignalGenerator()
332 const double a = double(i) * M_PI * 2 / sampleRateHz; in BusySignalGenerator()
394 std::vector<float> generateSinePattern(uint32_t sampleRateHz, in generateSinePattern() argument
397 std::vector<float> result(3 * sampleRateHz / freq + .5); in generateSinePattern()
400 const double a = double(i) * M_PI * 2 / sampleRateHz; in generateSinePattern()
439 RepeatGenerator(generateSinePattern(cfg.base.sampleRateHz, 300.0, 1.0))); in create()
[all …]
Dtalsa.cpp139 const size_t sampleRateHz, in pcmOpen() argument
148 pcm_config.rate = sampleRateHz; in pcmOpen()
166 nChannels, sampleRateHz, pcm_config.period_count, pcm_config.period_size, isOut); in pcmOpen()
174 nChannels, sampleRateHz, pcm_config.period_count, pcm_config.period_size, isOut, in pcmOpen()
182 nChannels, sampleRateHz, pcm_config.period_count, pcm_config.period_size, isOut, in pcmOpen()
Dutil.cpp161 if (!checkSampleRateHz(src.base.sampleRateHz, suggested.base.sampleRateHz)) { in checkAudioConfig()
174 suggested.frameCount = getBufferSizeFrames(duration_ms, src.base.sampleRateHz, in checkAudioConfig()
Ddevice_port_sink.cpp53 , mSampleRateHz(cfg.base.sampleRateHz) in TinyalsaSink()
62 cfg.base.sampleRateHz, in TinyalsaSink()
82 const size_t denominator = periodSettings.periodCount * cfg.base.sampleRateHz / inMs; in getLatencyMs()
263 , mSampleRateHz(cfg.base.sampleRateHz) in NullSink()
Dstream_common.cpp54 return m_config.base.sampleRateHz; in getSampleRate()
61 profile.sampleRates = { m_config.base.sampleRateHz }; in getSupportedProfiles()
Dtalsa.h44 size_t sampleRateHz, size_t frameCount, bool isOut);
Dprimary_device.cpp554 Return<Result> PrimaryDevice::setBtHfpSampleRate(uint32_t sampleRateHz) { in setBtHfpSampleRate() argument
555 (void)sampleRateHz; in setBtHfpSampleRate()
Dprimary_device.h198 Return<Result> setBtHfpSampleRate(uint32_t sampleRateHz) override;
/device/google/atv/audio_proxy/service/
DStreamOutImpl.cpp54 uint32_t sampleRateHz) { in estimatePlayedFramesSince() argument
71 return deltaSec * sampleRateHz + deltaNSec * sampleRateHz / kOneSecInNs; in estimatePlayedFramesSince()
124 Return<uint32_t> StreamOutImpl::getSampleRate() { return mConfig.sampleRateHz; } in getSampleRate()
138 Return<Result> StreamOutImpl::setSampleRate(uint32_t sampleRateHz) { in setSampleRate() argument
168 _hidl_cb(mConfig.sampleRateHz, mConfig.channelMask, mConfig.format); in getAudioProperties()
543 return frames + estimatePlayedFramesSince(timestamp, mConfig.sampleRateHz); in estimateTotalPlayedFrames()
DDummyBusOutputStream.cpp70 int64_t durationUs = numFrames * kOneSecInUs / mConfig.sampleRateHz; in writeRingBuffer()
104 status.position = {playedUs * mConfig.sampleRateHz / kOneSecInUs, timeSpec}; in writeRingBuffer()
114 (mConfig.sampleRateHz * getFrameSize()); in prepareForWritingImpl()
DDeviceImpl.cpp57 .sampleRateHz = static_cast<int32_t>(hidl_config.sampleRateHz), in toAidlAudioConfig()
188 .sampleRateHz = static_cast<int32_t>(hidl_config.sampleRateHz), in toAidlAudioConfig()
DAudioUtil.cpp35 return static_cast<int64_t>(bufferSizeMs) * config.sampleRateHz * in computeBufferSizeBytes()
DStreamOutImpl.h85 Return<Result> setSampleRate(uint32_t sampleRateHz) override;
/device/google/atv/audio_proxy/interfaces/aidl/aidl_api/device.google.atv.audio_proxy-aidl/1/device/google/atv/audio_proxy/
DAudioConfig.aidl23 int sampleRateHz;
/device/google/atv/audio_proxy/interfaces/aidl/aidl_api/device.google.atv.audio_proxy-aidl/3/device/google/atv/audio_proxy/
DAudioConfig.aidl23 int sampleRateHz;
/device/google/atv/audio_proxy/interfaces/aidl/aidl_api/device.google.atv.audio_proxy-aidl/2/device/google/atv/audio_proxy/
DAudioConfig.aidl23 int sampleRateHz;
/device/google/atv/audio_proxy/interfaces/aidl/aidl_api/device.google.atv.audio_proxy-aidl/current/device/google/atv/audio_proxy/
DAudioConfig.aidl23 int sampleRateHz;
/device/google/atv/audio_proxy/interfaces/aidl/device/google/atv/audio_proxy/
DAudioConfig.aidl12 int sampleRateHz;
/device/google/atv/audio_proxy/
DAudioProxyDevice.cpp74 .sample_rate = static_cast<uint32_t>(aidlConfig.sampleRateHz), in openOutputStream()