diff options
author | Lioncash <mathew1800@gmail.com> | 2018-09-14 12:06:00 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-09-17 15:08:34 -0400 |
commit | 2fd124bc9371dbbcb43d8eec7fbeb22032a9a753 (patch) | |
tree | 6169b20a355b6d5bcb2166c205302c814c61d116 | |
parent | 1adbcd54fe0d5d75c487c86640fed263251867ea (diff) |
stream: Replace includes with forward declarations where applicable
Avoids propagating includes in headers where it's not necessary to do
so.
-rw-r--r-- | src/audio_core/stream.cpp | 1 | ||||
-rw-r--r-- | src/audio_core/stream.h | 9 |
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 @@ #include "audio_core/sink.h" #include "audio_core/sink_details.h" +#include "audio_core/sink_stream.h" #include "audio_core/stream.h" #include "common/assert.h" #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 @@ #include <queue> #include "audio_core/buffer.h" -#include "audio_core/sink_stream.h" -#include "common/assert.h" #include "common/common_types.h" -#include "core/core_timing.h" + +namespace CoreTiming { +struct EventType; +} namespace AudioCore { +class SinkStream; + /** * Represents an audio stream, which is a sequence of queued buffers, to be outputed by AudioOut */ |