Move Cubeb AudioStream to FrontendCommon

This way it doesn't need to be built for libretro.
This commit is contained in:
Connor McLaughlin
2020-10-11 12:04:31 +10:00
parent fe25f005c2
commit c89d94c2ff
12 changed files with 29 additions and 50 deletions

View File

@ -18,6 +18,7 @@
#include "core/spu.h"
#include "core/system.h"
#include "core/timers.h"
#include "cubeb_audio_stream.h"
#include "game_list.h"
#include "icon.h"
#include "imgui.h"
@ -456,7 +457,7 @@ std::unique_ptr<AudioStream> CommonHostInterface::CreateAudioStream(AudioBackend
return AudioStream::CreateNullAudioStream();
case AudioBackend::Cubeb:
return AudioStream::CreateCubebAudioStream();
return CubebAudioStream::Create();
#ifdef WITH_SDL2
case AudioBackend::SDL: