18 #include "precompiled.h" 
   59     return ( 
m_Format == AL_FORMAT_STEREO16 );
 
   66         int buffersToStart = sndManager->GetBufferCount();  
 
   76             alGenBuffers(buffersToStart, 
m_Buffer);
 
   78             if(alGetError() != AL_NO_ERROR) 
 
   80                 LOGERROR( L
"- Error creating initial buffer !!\n");
 
  128         long bufferSize = sndManager->GetBufferSize();
 
  130         u8* pcmout = 
new u8[bufferSize + 5000];
 
  131         int buffersWritten = 0;
 
  135             memset( pcmout, 0, bufferSize + 5000 );
 
  136             Status totalRet = 
ogg->GetNextChunk( pcmout, bufferSize);
 
  145         return buffersWritten;
 
  161 #endif // CONFIG2_AUDIO 
virtual bool IsFileFinished()
ISoundManager * g_SoundManager
unsigned int * GetBufferPtr()
i64 Status
Error handling system. 
virtual void SetFileName(const Path &aName)
virtual bool InitOggFile(const VfsPath &itemPath)
Status OpenOggNonstream(const PIVFS &vfs, const VfsPath &pathname, OggStreamPtr &stream)
A non-streaming OggStream (reading the whole file in advance) that can cope with archived/compressed ...
virtual int FetchDataIntoBuffer(int count, ALuint *buffers)
void SetFormatAndFreq(int form, ALsizei freq)