audio_core: Add EnableStretching to interface so that one can toggle stretching on and off

This commit is contained in:
MerryMage 2016-08-31 16:56:30 +01:00
parent 0ef4185644
commit 904a319694
4 changed files with 52 additions and 9 deletions
src/audio_core

View file

@ -71,6 +71,10 @@ void SelectSink(std::string sink_id) {
DSP::HLE::SetSink(iter->factory());
}
void EnableStretching(bool enable) {
DSP::HLE::EnableStretching(enable);
}
void Shutdown() {
CoreTiming::UnscheduleEvent(tick_event, 0);
DSP::HLE::Shutdown();