Looping audio clips now functioning correctly in Siren.

KRAudioSource::IsPlaying() now returning false when a non-looping audio source ends.
This commit is contained in:
2013-02-27 13:11:24 -08:00
parent 52c9b90667
commit 5d1daa22dc
3 changed files with 92 additions and 65 deletions

View File

@@ -96,6 +96,7 @@ public:
__int64_t getStartAudioFrame();
void sample(int frame_count, int channel, float *buffer, float gain);
private:
__int64_t m_start_audio_frame; // Global audio frame that matches the start of the audio sample playback