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