Siren audio engine in progress

Added HRTF (Kemar) samples for 3d spatialization
Exposed frame buffer width and height for camera renderFrame calls.
Fixed a bug that caused objects containing a mixture of both opaque and transparent materials to be rendered entirely in the transparent render pass.  Now the sub meshes are evaluated independently.
This commit is contained in:
2013-02-08 17:28:17 -08:00
parent 63d333ae46
commit 743955fbe0
19 changed files with 264 additions and 89 deletions

View File

@@ -25,10 +25,13 @@ public:
int getFrameCount();
int getFrameRate();
signed short *getFrameData();
KRAudioSample *getAudioSample();
int getIndex();
private:
KRAudioManager *m_pSoundManager;
int m_index;
ALenum m_dataFormat;
int m_frameCount;
int m_frameRate;
@@ -36,6 +39,8 @@ private:
KRDataBlock *m_pData;
unsigned int m_bufferID;
KRAudioSample *m_audioSample;
};
#endif /* defined(KRAUDIO_BUFFER_H) */