/device/generic/goldfish/audio/ |
D | device_port_source.cpp | 56 , 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 …]
|
D | talsa.cpp | 139 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()
|
D | util.cpp | 161 if (!checkSampleRateHz(src.base.sampleRateHz, suggested.base.sampleRateHz)) { in checkAudioConfig() 174 suggested.frameCount = getBufferSizeFrames(duration_ms, src.base.sampleRateHz, in checkAudioConfig()
|
D | device_port_sink.cpp | 53 , 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()
|
D | stream_common.cpp | 54 return m_config.base.sampleRateHz; in getSampleRate() 61 profile.sampleRates = { m_config.base.sampleRateHz }; in getSupportedProfiles()
|
D | talsa.h | 44 size_t sampleRateHz, size_t frameCount, bool isOut);
|
D | primary_device.cpp | 554 Return<Result> PrimaryDevice::setBtHfpSampleRate(uint32_t sampleRateHz) { in setBtHfpSampleRate() argument 555 (void)sampleRateHz; in setBtHfpSampleRate()
|
D | primary_device.h | 198 Return<Result> setBtHfpSampleRate(uint32_t sampleRateHz) override;
|
/device/google/atv/audio_proxy/service/ |
D | StreamOutImpl.cpp | 54 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()
|
D | DummyBusOutputStream.cpp | 70 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()
|
D | DeviceImpl.cpp | 57 .sampleRateHz = static_cast<int32_t>(hidl_config.sampleRateHz), in toAidlAudioConfig() 188 .sampleRateHz = static_cast<int32_t>(hidl_config.sampleRateHz), in toAidlAudioConfig()
|
D | AudioUtil.cpp | 35 return static_cast<int64_t>(bufferSizeMs) * config.sampleRateHz * in computeBufferSizeBytes()
|
D | StreamOutImpl.h | 85 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/ |
D | AudioConfig.aidl | 23 int sampleRateHz;
|
/device/google/atv/audio_proxy/interfaces/aidl/aidl_api/device.google.atv.audio_proxy-aidl/3/device/google/atv/audio_proxy/ |
D | AudioConfig.aidl | 23 int sampleRateHz;
|
/device/google/atv/audio_proxy/interfaces/aidl/aidl_api/device.google.atv.audio_proxy-aidl/2/device/google/atv/audio_proxy/ |
D | AudioConfig.aidl | 23 int sampleRateHz;
|
/device/google/atv/audio_proxy/interfaces/aidl/aidl_api/device.google.atv.audio_proxy-aidl/current/device/google/atv/audio_proxy/ |
D | AudioConfig.aidl | 23 int sampleRateHz;
|
/device/google/atv/audio_proxy/interfaces/aidl/device/google/atv/audio_proxy/ |
D | AudioConfig.aidl | 12 int sampleRateHz;
|
/device/google/atv/audio_proxy/ |
D | AudioProxyDevice.cpp | 74 .sample_rate = static_cast<uint32_t>(aidlConfig.sampleRateHz), in openOutputStream()
|