Home
last modified time | relevance | path

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

/device/generic/goldfish/audio/
Ddevice_port_source.cpp213 template <class G> struct GeneratedSource : public DevicePortSource { struct
214 GeneratedSource(const AudioConfig &cfg, in GeneratedSource() argument
225 Result getCapturePosition(uint64_t &frames, uint64_t &time) override { in getCapturePosition()
235 uint64_t getCaptureFrames(const nsecs_t nowNs) const { in getCaptureFrames()
239 uint64_t getAvailableFrames(const nsecs_t nowNs) const { in getAvailableFrames()
243 size_t read(float volume, size_t bytesToRead, IWriter &writer) override { in read()
282 std::vector<int16_t> mWriteBuffer;
283 uint64_t &mFrames;
284 const nsecs_t mStartNs;
285 const unsigned mSampleRateHz;
[all …]