Lines Matching defs:StreamOut
39 struct StreamOut : public IStreamOut { struct
99 float getEffectiveVolume() const { return mEffectiveVolume; } in getEffectiveVolume()
100 const DeviceAddress &getDeviceAddress() const { return mCommon.m_device; } in getDeviceAddress()
101 const AudioConfig &getAudioConfig() const { return mCommon.m_config; } in getAudioConfig()
102 const hidl_bitfield<AudioOutputFlag> &getAudioOutputFlags() const { return mCommon.m_flags; } in getAudioOutputFlags()
104 uint64_t &getFrameCounter() { return mFrames; } in getFrameCounter()
110 sp<PrimaryDevice> mDev;
111 const StreamCommon mCommon;
112 const SourceMetadata mSourceMetadata;
113 std::unique_ptr<IOThread> mWriteThread;
115 float mMasterVolume = 1.0f; // requires mMutex
116 float mStreamVolume = 1.0f; // requires mMutex
117 std::atomic<float> mEffectiveVolume = 1.0f;
118 std::mutex mMutex;
121 uint64_t mFrames = 0;