Lines Matching defs:StreamIn
38 struct StreamIn : public IStreamIn { struct
90 const DeviceAddress &getDeviceAddress() const { return mCommon.m_device; } in getDeviceAddress()
91 const AudioConfig &getAudioConfig() const { return mCommon.m_config; } in getAudioConfig()
92 const hidl_bitfield<AudioOutputFlag> &getAudioOutputFlags() const { return mCommon.m_flags; } in getAudioOutputFlags()
94 uint64_t &getFrameCounter() { return mFrames; } in getFrameCounter()
96 void addInputFramesLost(size_t n) { mInputFramesLost += n; } in addInputFramesLost()
97 float getEffectiveVolume() const { return mEffectiveVolume; } in getEffectiveVolume()
102 sp<PrimaryDevice> mDev;
103 const StreamCommon mCommon;
104 const SinkMetadata mSinkMetadata;
105 std::unique_ptr<IOThread> mReadThread;
108 uint64_t mFrames = 0;
110 std::atomic<uint32_t> mInputFramesLost = 0;
111 std::atomic<float> mEffectiveVolume = 1.0f;