30e5b4a99e
Added conversion functions from our audio format enum to OpenAL's in preparation for supporting more formats. Reorganized cAudio defines, made it easier to access some compile time parameters. Fixed a bug where a source could not be played again after it reached the end of its audio stream. Added better checking for sources. IsValid() should provide a more useful indication of whether a source is usable. Added error checking and logging to cAudioCapture. Prevented initializing of cAudioManager until shutdown() has been called. Added a tutorial for Audio Effects. Added a footsteps sound for showing off Audio Effects. Moved the default compile location for the main library to lib/. The msvc project will copy the cAudio.dll to bin/win32-visual/
17 lines
220 B
C++
17 lines
220 B
C++
#ifndef EAUDIOFORMATS_H
|
|
#define EAUDIOFORMATS_H
|
|
|
|
namespace cAudio
|
|
{
|
|
|
|
enum AudioFormats
|
|
{
|
|
EAF_8BIT_MONO,
|
|
EAF_8BIT_STEREO,
|
|
EAF_16BIT_MONO,
|
|
EAF_16BIT_STEREO
|
|
};
|
|
|
|
};
|
|
|
|
#endif //! EAUDIOFORMATS_H
|