summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2018-09-14 12:06:00 -0400
committerGravatar Lioncash2018-09-17 15:08:34 -0400
commit2fd124bc9371dbbcb43d8eec7fbeb22032a9a753 (patch)
tree6169b20a355b6d5bcb2166c205302c814c61d116 /src
parentaudio_renderer: Replace includes with forward declarations where applicable (diff)
downloadyuzu-2fd124bc9371dbbcb43d8eec7fbeb22032a9a753.tar.gz
yuzu-2fd124bc9371dbbcb43d8eec7fbeb22032a9a753.tar.xz
yuzu-2fd124bc9371dbbcb43d8eec7fbeb22032a9a753.zip
stream: Replace includes with forward declarations where applicable
Avoids propagating includes in headers where it's not necessary to do so.
Diffstat (limited to 'src')
-rw-r--r--src/audio_core/stream.cpp1
-rw-r--r--src/audio_core/stream.h9
2 files changed, 7 insertions, 3 deletions
diff --git a/src/audio_core/stream.cpp b/src/audio_core/stream.cpp
index 386f2ec66..449db2416 100644
--- a/src/audio_core/stream.cpp
+++ b/src/audio_core/stream.cpp
@@ -7,6 +7,7 @@
7 7
8#include "audio_core/sink.h" 8#include "audio_core/sink.h"
9#include "audio_core/sink_details.h" 9#include "audio_core/sink_details.h"
10#include "audio_core/sink_stream.h"
10#include "audio_core/stream.h" 11#include "audio_core/stream.h"
11#include "common/assert.h" 12#include "common/assert.h"
12#include "common/logging/log.h" 13#include "common/logging/log.h"
diff --git a/src/audio_core/stream.h b/src/audio_core/stream.h
index 3a435982d..27db1112f 100644
--- a/src/audio_core/stream.h
+++ b/src/audio_core/stream.h
@@ -11,13 +11,16 @@
11#include <queue> 11#include <queue>
12 12
13#include "audio_core/buffer.h" 13#include "audio_core/buffer.h"
14#include "audio_core/sink_stream.h"
15#include "common/assert.h"
16#include "common/common_types.h" 14#include "common/common_types.h"
17#include "core/core_timing.h" 15
16namespace CoreTiming {
17struct EventType;
18}
18 19
19namespace AudioCore { 20namespace AudioCore {
20 21
22class SinkStream;
23
21/** 24/**
22 * Represents an audio stream, which is a sequence of queued buffers, to be outputed by AudioOut 25 * Represents an audio stream, which is a sequence of queued buffers, to be outputed by AudioOut
23 */ 26 */