From 5fb6781c6104a618ee366c444725e32765a0c534 Mon Sep 17 00:00:00 2001 From: David Marcec Date: Sun, 16 Jun 2019 20:18:35 +1000 Subject: Cleanup --- src/audio_core/stream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/audio_core') diff --git a/src/audio_core/stream.h b/src/audio_core/stream.h index 97458c80a..8106cea43 100644 --- a/src/audio_core/stream.h +++ b/src/audio_core/stream.h @@ -100,6 +100,7 @@ private: u32 sample_rate; ///< Sample rate of the stream Format format; ///< Format of the stream + float game_volume = 1.0f; ///< The volume the game currently has set ReleaseCallback release_callback; ///< Buffer release callback for the stream State state{State::Stopped}; ///< Playback state of the stream Core::Timing::EventType* release_event{}; ///< Core timing release event for the stream @@ -109,7 +110,6 @@ private: SinkStream& sink_stream; ///< Output sink for the stream Core::Timing::CoreTiming& core_timing; ///< Core timing instance. std::string name; ///< Name of the stream, must be unique - float game_volume = 1.0f; ///< The volume the game currently has set }; using StreamPtr = std::shared_ptr; -- cgit v1.2.3