Searched defs:GeneratedSource (Results 1 – 1 of 1) sorted by relevance
231 template <class G> struct GeneratedSource : public DevicePortSource { struct232 GeneratedSource(const AudioConfig &cfg, in GeneratedSource() argument243 Result getCapturePosition(uint64_t &frames, uint64_t &time) override { in getCapturePosition()255 uint64_t getCaptureFramesLocked(const nsecs_t nowNs) const { in getCaptureFramesLocked()259 uint64_t getAvailableFramesLocked(const nsecs_t nowNs) const { in getAvailableFramesLocked()263 size_t read(float volume, size_t bytesToRead, IWriter &writer) override { in read()304 std::vector<int16_t> mWriteBuffer;306 const nsecs_t mStartNs;307 const unsigned mSampleRateHz;308 const unsigned mNChannels;[all …]