Audio: Add sink selection to configuration files

This commit is contained in:
MerryMage 2016-04-27 13:53:23 +01:00
parent 8b94422e3e
commit 4e971f44a2
10 changed files with 79 additions and 4 deletions

View file

@ -6,6 +6,7 @@
#include <array>
#include <cstddef>
#include <memory>
#include <type_traits>
#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<AudioCore::Sink> sink);
} // namespace HLE
} // namespace DSP