From 4e971f44a27c2e4abc25ddf0720d287a688e0a4d Mon Sep 17 00:00:00 2001 From: MerryMage Date: Wed, 27 Apr 2016 13:53:23 +0100 Subject: Audio: Add sink selection to configuration files --- src/audio_core/hle/dsp.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/audio_core/hle/dsp.h') diff --git a/src/audio_core/hle/dsp.h b/src/audio_core/hle/dsp.h index f0f125284..4f2410c27 100644 --- a/src/audio_core/hle/dsp.h +++ b/src/audio_core/hle/dsp.h @@ -6,6 +6,7 @@ #include #include +#include #include #include "audio_core/hle/common.h" @@ -15,6 +16,10 @@ #include "common/common_types.h" #include "common/swap.h" +namespace AudioCore { +class Sink; +} + namespace DSP { namespace HLE { @@ -535,5 +540,11 @@ void Shutdown(); */ bool Tick(); +/** + * Set the output sink. This must be called before calling Tick(). + * @param sink The sink to which audio will be output to. + */ +void SetSink(std::unique_ptr sink); + } // namespace HLE } // namespace DSP -- cgit v1.2.3