Siren audio engine in progress

This commit is contained in:
2013-02-07 13:00:51 -08:00
parent bbaa1e4d9f
commit 63d333ae46
6 changed files with 237 additions and 77 deletions

View File

@@ -86,7 +86,16 @@ public:
bool getEnableObstruction();
void setEnableObstruction(bool enable_obstruction);
// ---- Siren Audio Engine Interface ----
void advanceFrames(int frame_count);
KRAudioBuffer *getBuffer();
int getBufferFrame();
private:
int m_currentBufferFrame; // Siren Audio Engine frame number within current buffer
void advanceBuffer();
std::string m_audio_sample_name;
KRAudioSample *m_audioFile;