Home
last modified time | relevance | path

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

/device/generic/goldfish/audio/
Dstream_common.cpp54 return m_config.sampleRateHz; in getSampleRate()
60 _hidl_cb(Result::OK, {m_config.sampleRateHz}); in getSupportedSampleRates()
66 Result StreamCommon::setSampleRate(uint32_t sampleRateHz) const { in setSampleRate()
67 (void)sampleRateHz; in setSampleRate()
103 _hidl_cb(m_config.sampleRateHz, m_config.channelMask, m_config.format); in getAudioProperties()
Ddevice_port_source.cpp47 , mSampleRateHz(cfg.sampleRateHz) in TinyalsaSource()
55 cfg.sampleRateHz, in TinyalsaSource()
221 , mSampleRateHz(cfg.sampleRateHz) in GeneratedSource()
304 explicit BusySignalGenerator(const uint32_t sampleRateHz) : mSampleRateHz(sampleRateHz) { in BusySignalGenerator()
306 const size_t sz = sampleRateHz / 20; in BusySignalGenerator()
309 const double a = double(i) * M_PI * 2 / sampleRateHz; in BusySignalGenerator()
371 std::vector<float> generateSinePattern(uint32_t sampleRateHz, in generateSinePattern() argument
374 std::vector<float> result(3 * sampleRateHz / freq + .5); in generateSinePattern()
377 const double a = double(i) * M_PI * 2 / sampleRateHz; in generateSinePattern()
417 BusySignalGenerator(cfg.sampleRateHz)); in create()
[all …]
Dtalsa.cpp107 const size_t sampleRateHz, in pcmOpen() argument
114 pcm_config.rate = sampleRateHz; in pcmOpen()
130 nChannels, sampleRateHz, frameCount, isOut, in pcmOpen()
Dutil.cpp112 bool valid = checkSampleRateHz(cfg.sampleRateHz, suggested.sampleRateHz); in checkAudioConfig()
146 ? getBufferSizeFrames(duration_ms, suggested.sampleRateHz) in checkAudioConfig()
Ddevice_port_sink.cpp44 , mSampleRateHz(cfg.sampleRateHz) in TinyalsaSink()
52 cfg.sampleRateHz, in TinyalsaSink()
215 , mSampleRateHz(cfg.sampleRateHz) in NullSink()
Dtalsa.h34 PcmPtr pcmOpen(unsigned int dev, unsigned int card, unsigned int nChannels, size_t sampleRateHz, si…
Dstream_common.h46 Result setSampleRate(uint32_t sampleRateHz) const;
Dprimary_device.cpp325 Return<Result> PrimaryDevice::setBtHfpSampleRate(uint32_t sampleRateHz) { in setBtHfpSampleRate() argument
326 (void)sampleRateHz; in setBtHfpSampleRate()
Dstream_in.h53 Return<Result> setSampleRate(uint32_t sampleRateHz) override;
Dstream_in.cpp256 Return<Result> StreamIn::setSampleRate(uint32_t sampleRateHz) { in setSampleRate() argument
257 return mCommon.setSampleRate(sampleRateHz); in setSampleRate()
Dstream_out.h54 Return<Result> setSampleRate(uint32_t sampleRateHz) override;
Dstream_out.cpp263 Return<Result> StreamOut::setSampleRate(uint32_t sampleRateHz) { in setSampleRate() argument
264 return mCommon.setSampleRate(sampleRateHz); in setSampleRate()
Dprimary_device.h97 Return<Result> setBtHfpSampleRate(uint32_t sampleRateHz) override;