Move audio system onto XHostThread

This commit is contained in:
Dr. Chat
2015-05-18 22:25:02 -05:00
parent ffe3b4bf04
commit b1920f4a87
2 changed files with 17 additions and 26 deletions

View File

@@ -19,6 +19,9 @@
#include "xenia/xbox.h"
namespace xe {
namespace kernel { class XHostThread; }
namespace apu {
class AudioDriver;
@@ -73,9 +76,7 @@ class AudioSystem {
Memory* memory_;
cpu::Processor* processor_;
std::thread thread_;
cpu::ThreadState* thread_state_;
uint32_t thread_block_;
std::unique_ptr<kernel::XHostThread> thread_;
std::atomic<bool> running_;
std::mutex lock_;