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/
28 lines
607 B
C++
28 lines
607 B
C++
#ifndef IAUDIOEFFECTS_H
|
|
#define IAUDIOEFFECTS_H
|
|
|
|
#include "IEffect.h"
|
|
#include "IFilter.h"
|
|
#include "cAudioDefines.h"
|
|
|
|
namespace cAudio
|
|
{
|
|
class IAudioEffects
|
|
{
|
|
public:
|
|
IAudioEffects() {}
|
|
virtual ~IAudioEffects() {}
|
|
|
|
virtual IEffect* createEffect() = 0;
|
|
virtual IFilter* createFilter() = 0;
|
|
|
|
virtual unsigned int getMaxEffectsSupported() const = 0;
|
|
virtual bool isEffectSupported(const EffectTypes& type) const = 0;
|
|
virtual bool isFilterSupported(const FilterTypes& type) const = 0;
|
|
|
|
protected:
|
|
private:
|
|
};
|
|
};
|
|
|
|
#endif //! IAUDIOEFFECTS_H
|