Searched refs:sampleRateHz (Results 1 – 13 of 13) sorted by relevance
/device/generic/goldfish/audio/ |
D | stream_common.cpp | 54 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()
|
D | device_port_source.cpp | 47 , 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 …]
|
D | talsa.cpp | 107 const size_t sampleRateHz, in pcmOpen() argument 114 pcm_config.rate = sampleRateHz; in pcmOpen() 130 nChannels, sampleRateHz, frameCount, isOut, in pcmOpen()
|
D | util.cpp | 112 bool valid = checkSampleRateHz(cfg.sampleRateHz, suggested.sampleRateHz); in checkAudioConfig() 146 ? getBufferSizeFrames(duration_ms, suggested.sampleRateHz) in checkAudioConfig()
|
D | device_port_sink.cpp | 44 , mSampleRateHz(cfg.sampleRateHz) in TinyalsaSink() 52 cfg.sampleRateHz, in TinyalsaSink() 215 , mSampleRateHz(cfg.sampleRateHz) in NullSink()
|
D | talsa.h | 34 PcmPtr pcmOpen(unsigned int dev, unsigned int card, unsigned int nChannels, size_t sampleRateHz, si…
|
D | stream_common.h | 46 Result setSampleRate(uint32_t sampleRateHz) const;
|
D | primary_device.cpp | 325 Return<Result> PrimaryDevice::setBtHfpSampleRate(uint32_t sampleRateHz) { in setBtHfpSampleRate() argument 326 (void)sampleRateHz; in setBtHfpSampleRate()
|
D | stream_in.h | 53 Return<Result> setSampleRate(uint32_t sampleRateHz) override;
|
D | stream_in.cpp | 256 Return<Result> StreamIn::setSampleRate(uint32_t sampleRateHz) { in setSampleRate() argument 257 return mCommon.setSampleRate(sampleRateHz); in setSampleRate()
|
D | stream_out.h | 54 Return<Result> setSampleRate(uint32_t sampleRateHz) override;
|
D | stream_out.cpp | 263 Return<Result> StreamOut::setSampleRate(uint32_t sampleRateHz) { in setSampleRate() argument 264 return mCommon.setSampleRate(sampleRateHz); in setSampleRate()
|
D | primary_device.h | 97 Return<Result> setBtHfpSampleRate(uint32_t sampleRateHz) override;
|