Home
last modified time | relevance | path

Searched defs:GeneratedSource (Results 1 – 1 of 1) sorted by relevance

/device/generic/goldfish/hals/audio/
Ddevice_port_source.cpp237 template <class G> struct GeneratedSource : public DevicePortSource { struct
238 GeneratedSource(const AudioConfig &cfg, in GeneratedSource() argument
249 Result getCapturePosition(uint64_t &frames, uint64_t &time) override { in getCapturePosition()
261 uint64_t getCaptureFramesLocked(const nsecs_t nowNs) const { in getCaptureFramesLocked()
265 uint64_t getAvailableFramesLocked(const nsecs_t nowNs) const { in getAvailableFramesLocked()
269 size_t read(float volume, size_t bytesToRead, IWriter &writer) override { in read()
310 std::vector<int16_t> mWriteBuffer;
312 const nsecs_t mStartNs;
313 const unsigned mSampleRateHz;
314 const unsigned mNChannels;
[all …]