Commit Graph

20 Commits

Author SHA1 Message Date
Raynaldo Rivera d0eab76535 Added the mac osx support project and the needed dependencies to compile it. Also modified the cAudioDefines to remove efx from the project as mac doesn't seem to support it. 2010-02-28 01:18:50 +00:00
Joshua Jones 97c7135bbc Added the ability to disable the plugin system with a define. 2010-02-27 23:58:18 +00:00
Joshua Jones 7d29b49a29 Reorganized cAudioDefines.h into sections based on platform, allowing for different configs based on what a platform supports (ie, IPhone has no support for dynamic libs, EFX, and some other things should be off) 2010-02-27 23:24:11 +00:00
Joshua Jones 09a7d8d6e7 Removed buggy memory manager. 2010-02-25 02:11:15 +00:00
Raynaldo Rivera c9b4953246 Misc fixes 2010-02-21 03:42:40 +00:00
Raynaldo Rivera bea4b72893 Added the memory manager class 2010-02-21 01:47:24 +00:00
Joshua Jones 2446119a5a Removed the CAUDIO_EXPORTS define completely, now the default is dynamic linking, unless CAUDIO_STATIC_LIB is defined. 2010-02-20 21:13:52 +00:00
Joshua Jones b69d688533 Changes to CAUDIO_API to try to make linux .so to work. 2010-02-20 20:53:18 +00:00
Joshua Jones 131959224f Added an ifdef for linux which will, be default, disable EFX support on linux. We are doing this because of licensing issues with EFX on linux. We cannot provide in our packages key EFX headers. If you want EFX support on linux, you must provide them yourself. 2010-02-20 03:51:40 +00:00
Joshua Jones 7c8aa15ea2 Work on documenting the library for doxygen. 2010-02-17 01:42:45 +00:00
Raynaldo Rivera 7db441ce57 Uploading new codeblocks project that compiles cAudio 2010-02-16 01:38:50 +00:00
Joshua Jones 16f222c8a5 Changes to make sure undefining decoders and EFX actually removes all pieces of them. 2010-02-13 02:34:50 +00:00
Joshua Jones fbd3ecabb4 Added version checking to plugins. 2010-02-10 04:59:10 +00:00
Joshua Jones 3043f5d4d5 Added plugin manager and plugin system to cAudio.
Started work on an mp3 decoder plugin.
Conflict fixes to earlier commit.
2010-02-09 05:58:27 +00:00
Raynaldo Rivera c261339e57 2010-02-09 05:33:32 +00:00
Raynaldo Rivera 1e914b9796 2010-02-09 04:18:39 +00:00
Joshua Jones 30e5b4a99e Added support for all OpenAL Audio Effects. Access can be gotten through the main audio manager using the AudioEffects interface. IEffect provides access to effect parameters and allows for binding to cAudio sources. IFilter provides access to filters that can be attached to sources and effects.
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/
2010-01-11 00:39:08 +00:00
Joshua Jones 6b3e9c5a9d Moved sample sounds to a media folder and removed the copy of bling.ogg from bin
Updated logger to allow a user to create callbacks to receive log messages
Logger also gives more information, time the message was sent, the source, the importance, and the message itself.
User can now query playback devices and specify the device for the audio manager to use.  The audio manager is no longer a singleton, although creating multiple managers is not advised.
Clean up and optimization of manager initialization code.
IAudioCapture can now be told which device to capture audio from.  The user can also create multiple IAudioCaptures to capture audio from multiple sources at the same time.
Added additional error checking.
A seperate thread is used to capture audio now.
Defines added to allow a user to remove support for default codecs.
2009-11-20 03:39:56 +00:00
Raynaldo Rivera 8b1019a98b added a CAUDIO_EAX_ENABLED flag to cAudio Defines and enabled EAX 2009-09-03 03:00:03 +00:00
Joshua Jones 75ece68dcf Added cross-platform Mutex and Thread classes.
Made cAudio, cAudioCapture, cAudioManager and other classes thread safe.
Made cAudioManager use a seperate update thread by default.
Added cAudioSleep, a cross-platform sleep() function
Moved global defines to cAudioDefines
Added defines to disable thread safety or the internal update thread if the user wishes it
Updated tutorials to reflect the changes made
2009-08-29 11:24:31 +00:00