Commit Graph

20 Commits

Author SHA1 Message Date
Raynaldo Rivera 37eab63fcd Removed unneeded macros in the examples 2014-09-02 09:38:39 -07:00
Jonas Erlandsson c9cfd31b29 Linux compat changes.
Removed line 4-6 in CMake/InstallDependencies.cmake so Linux also get the macros.
Edited DependenciesSource/.../CMakeLists.txt to add -fPIC compiler option on Linux 64bit.
Edited all Examples/.../CMakeLists.txt to rename "Main.cpp" to "main.cpp".
Edited cAudio/include/cSTLAllocator.h to make the inclusion of cstddef.h explicit for gcc 2.6+.

Despite this you still need to copy Dependencies/include/OpenAL/alc.h to /usr/include/AL/alc.h (for Ubuntu or whatever path that is on your system) for it to compile if you are not running the development build of OpenAL.
2011-12-27 12:37:02 +01:00
Raynaldo Rivera 192adb025f Fixed a typo in the tutorials that prevented the examples from building correctly. 2011-08-24 01:28:31 -07:00
Raynaldo Rivera e3663f2ba6 Adding new examples directory structure. 2011-08-24 01:16:40 -07:00
Raynaldo Rivera 6dde5fd37e Clearing The cAudio trunk for the new cmake 2011-05-19 04:17:47 +00:00
Raynaldo Rivera d87d8fc969 Added all the osx project files for each example. 2010-03-16 01:32:42 +00:00
Joshua Jones 3b8704444a Comments and documentation.
Incremented the version in preparation for the next release.
2010-03-16 01:11:08 +00:00
Raynaldo Rivera bee6c8894d Adjusted the makefiles to work correctly. 2010-02-20 18:22:52 +00:00
Raynaldo Rivera ce77c9f932 Added the makefiles for linux... 2010-02-20 08:11:18 +00:00
Joshua Jones b1f2680420 Update to move default audio decoder and data source registration to creation of the audio manager. This way, plugins can always override default implementations of the default decoders/sources. 2010-02-20 03:19:59 +00:00
Raynaldo Rivera b118bdc7ac Fixed the visual studio files to use the _d suffix 2010-02-16 03:00:21 +00:00
Raynaldo Rivera 30346e9df1 Finished fixing the cpb projects created new ones for 1-7 each has a debug and release for mingw and visual studio. Even added workspace for ease of compiling everything with codeblocks. 2010-02-16 02:46:27 +00:00
Joshua Jones f69d925b4f Added ability to add effect presets. 2010-02-14 03:32:24 +00:00
Raynaldo Rivera 7cf3d7fb0e Changed the tutorails to say cAudio 2.0.0 instead of 1.7.1 2010-02-13 19:56:38 +00:00
Joshua Jones 3f06749573 Minor API changes to the manager, release is now releaseAllSources, createFromFile is now create.
Added the ability for the user to provide a DataSourceFactory, which cAudio will use to get audio data.  This interface can be overridden to provide cAudio the ability to read from zip archives, TCP streams, potentially any location.  DataSourceFactories can also be prioritized.
Made the existing FileSource a factory and registered it by default with the manager.  If the user wishes to prevent cAudio from reading from disk, unRegister the "FileSystem" data source.
Made tutorials conform with the changes to the API.
2010-02-13 05:48:19 +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
Raynaldo Rivera b317412796 changed the IAudio objects and cAudio objects to IAudioSource and cAudioSource 2010-02-10 21:57:09 +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