Searched defs:GeneratedSource (Results 1 – 1 of 1) sorted by relevance
213 template <class G> struct GeneratedSource : public DevicePortSource { struct214 GeneratedSource(const AudioConfig &cfg, in GeneratedSource() argument225 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 …]