Home
last modified time | relevance | path

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

/device/generic/goldfish/audio/
Ddevice_port_source.cpp224 template <class G> struct GeneratedSource : public DevicePortSource { struct
225 GeneratedSource(const AudioConfig &cfg, in GeneratedSource() function
236 Result getCapturePosition(uint64_t &frames, uint64_t &time) override { in getCapturePosition()
248 uint64_t getCaptureFramesLocked(const nsecs_t nowNs) const { in getCaptureFramesLocked()
252 uint64_t getAvailableFramesLocked(const nsecs_t nowNs) const { in getAvailableFramesLocked()
256 size_t read(float volume, size_t bytesToRead, IWriter &writer) override { in read()
297 std::vector<int16_t> mWriteBuffer;
299 const nsecs_t mStartNs;
300 const unsigned mSampleRateHz;
301 const unsigned mNChannels;
[all …]