Audio engine now blocking when buffers are full.

This commit is contained in:
Ben Vanik
2014-01-13 00:20:53 -08:00
parent 20ad328e4a
commit f6ca6cced8
4 changed files with 54 additions and 7 deletions

View File

@@ -41,6 +41,10 @@ private:
IXAudio2MasteringVoice* mastering_voice_;
IXAudio2SourceVoice* pcm_voice_;
float samples_[1536];
HANDLE wait_handle_;
class VoiceCallback;
VoiceCallback* voice_callback_;
};