summaryrefslogtreecommitdiff
path: root/src/audio_core/stream.h
diff options
context:
space:
mode:
authorGravatar David Marcec2019-06-16 20:18:35 +1000
committerGravatar David Marcec2019-06-16 20:18:35 +1000
commit5fb6781c6104a618ee366c444725e32765a0c534 (patch)
tree8df22f0172e08926f9f9057f5f31e357fa56aa58 /src/audio_core/stream.h
parentImpl'd IsUserAccountSwitchLocked, SetAudioOutVolume, GetAudioOutVolume & Part... (diff)
downloadyuzu-5fb6781c6104a618ee366c444725e32765a0c534.tar.gz
yuzu-5fb6781c6104a618ee366c444725e32765a0c534.tar.xz
yuzu-5fb6781c6104a618ee366c444725e32765a0c534.zip
Cleanup
Diffstat (limited to 'src/audio_core/stream.h')
-rw-r--r--src/audio_core/stream.h2
1 files changed, 1 insertions, 1 deletions
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:
100 100
101 u32 sample_rate; ///< Sample rate of the stream 101 u32 sample_rate; ///< Sample rate of the stream
102 Format format; ///< Format of the stream 102 Format format; ///< Format of the stream
103 float game_volume = 1.0f; ///< The volume the game currently has set
103 ReleaseCallback release_callback; ///< Buffer release callback for the stream 104 ReleaseCallback release_callback; ///< Buffer release callback for the stream
104 State state{State::Stopped}; ///< Playback state of the stream 105 State state{State::Stopped}; ///< Playback state of the stream
105 Core::Timing::EventType* release_event{}; ///< Core timing release event for the stream 106 Core::Timing::EventType* release_event{}; ///< Core timing release event for the stream
@@ -109,7 +110,6 @@ private:
109 SinkStream& sink_stream; ///< Output sink for the stream 110 SinkStream& sink_stream; ///< Output sink for the stream
110 Core::Timing::CoreTiming& core_timing; ///< Core timing instance. 111 Core::Timing::CoreTiming& core_timing; ///< Core timing instance.
111 std::string name; ///< Name of the stream, must be unique 112 std::string name; ///< Name of the stream, must be unique
112 float game_volume = 1.0f; ///< The volume the game currently has set
113}; 113};
114 114
115using StreamPtr = std::shared_ptr<Stream>; 115using StreamPtr = std::shared_ptr<Stream>;