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
6fac7af3ed
Added mac project files for the plugins. Fixed the cAudioDefines to allow for normal std use on mac and iphone. Added new files to mac project file and iphone project file.
2010-03-15 23:12:21 +00:00
Joshua Jones
ff7b993ab0
Changes to STL containers to use typedefs, allowing rerouting of allocations to be disabled on platforms that may not support it (gcc 4.2).
2010-03-14 22:58:03 +00:00
Joshua Jones
f7bbd9f0f9
More changes to the cSTLAllocator for mac os x compatibility.
2010-03-14 00:01:23 +00:00
Raynaldo Rivera
dfef14e5f7
Fixed the >>> needing to be > > > error with mac as well has fixed the size_t undeclared error.
2010-03-13 23:09:59 +00:00
Joshua Jones
849ba95609
Added an optional memory tracker (disabled by default) for detecting memory leaks and tracking allocations in the library.
2010-03-09 04:40:27 +00:00
Joshua Jones
d5c5846d71
Added custom memory manager. Actually added the darn files this time...
2010-03-08 05:27:02 +00:00
Joshua Jones
befd5f5821
Added custom memory manager.
2010-03-08 04:56:56 +00:00
Joshua Jones
1e2fe1c54c
Added additional defines for more control of which components are compiled into the library (for embedded platforms like the IPhone).
2010-03-05 01:52:25 +00:00
Joshua Jones
3d6d81a80a
Added a more specific define to disable just dynamic linking of plugins.
2010-02-28 01:51:58 +00:00
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
51e11d93b9
Added IPhone platform define
2010-02-27 22:17:03 +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
b24a4f2bb8
More documentation.
...
Added image for the API doc.
Fixed a bug where audio sources would not reset themselves when they stopped playing a stream due to reaching the end.
2010-02-18 04:22:59 +00:00
Joshua Jones
b05550fe69
More commenting.
2010-02-17 05:57:55 +00:00
Joshua Jones
ffb0a8bdf9
Updated IAudio Decoder (and all official decoders) to provide Total Time/Size/Decoded Size of an audio stream and the current position (in time, size, and decoded size). Audio Sources also expose this information.
2010-02-17 03:49:22 +00:00
Joshua Jones
7c8aa15ea2
Work on documenting the library for doxygen.
2010-02-17 01:42:45 +00:00
Raynaldo Rivera
adeafbdd46
Fixed IAudioManager so it will compile under mingw. also created the two plugins cbp project files and added to workspace.
2010-02-16 03:18:18 +00:00
Raynaldo Rivera
7db441ce57
Uploading new codeblocks project that compiles cAudio
2010-02-16 01:38:50 +00:00
Joshua Jones
17aa93f57c
Added ability for users to access the plugin manager.
...
Added plugin for legacy EAX presets.
2010-02-14 23:16:44 +00:00
Raynaldo Rivera
cb9ae7a72c
Added tutorial 6 shows how to use a custom event handler as well has removed OnInit from the audio source events.
2010-02-14 22:54:19 +00:00
Raynaldo Rivera
7d782233c0
Removed the dumpMessages() function made it to act like the console logger.
2010-02-14 22:04:30 +00:00
Raynaldo Rivera
0c0a8d12ac
Added the file log receiver and also added the dumpMessages() function to the ILogger class.
2010-02-14 17:08:16 +00:00
Joshua Jones
b096f1536b
Rework of plugin system. Now works better with static linking. Plugin makers are now expected to pass back a fully implemented version of IAudioPlugin for cAudio to use. Create your plugin class with new, cAudio will call drop() on it on unload of your dll.
...
The MP3Decoder plugin has been updated for the above changes.
Removed the shim that used to exist between dll plugins and the manager.
2010-02-14 05:34:57 +00:00
Joshua Jones
f69d925b4f
Added ability to add effect presets.
2010-02-14 03:32:24 +00:00
Joshua Jones
c3bd49da8d
Uploaded missing files.
2010-02-14 01:54:21 +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
Raynaldo Rivera
16581113c9
2010-02-13 04:48:57 +00:00
Raynaldo Rivera
d3787c0c03
2010-02-13 04:48:35 +00:00
Raynaldo Rivera
5039b834b2
2010-02-13 04:48:23 +00:00
Raynaldo Rivera
08800c5bad
Added the event system
2010-02-13 04:47:59 +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
f0a5c7411d
Added support for adding custom data sources. using registerSource(const char* , IDataSource*) createFromSource(const char*) isSourceRegistered(cont char*) unRegisterSource(cont char*)
2010-02-11 15:29:40 +00:00
Raynaldo Rivera
b317412796
changed the IAudio objects and cAudio objects to IAudioSource and cAudioSource
2010-02-10 21:57:09 +00:00
Joshua Jones
fbd3ecabb4
Added version checking to plugins.
2010-02-10 04:59:10 +00:00
Joshua Jones
48d264d0be
Added a pass in for the logger to plugins, so they don't need to link with cAudio.dll to access logging capabilities.
...
Fixed a bug that prevented cAudio from getting plugin symbols correctly.
Fixed a bug where cPluginManager would be constructed multiple times.
2010-02-10 04:46:00 +00:00
Raynaldo Rivera
e5d91053eb
2010-02-09 06:08:46 +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
4e5dcd3443
Added support to remove a single audio source.
2010-01-19 04:04:40 +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
2132eea8bf
Added a small spreadsheet with performance information
...
Changed the 3d tutorial to use the move convenience function in order to have proper doppler effects.
Added relative seek ability to cAudio source.
Updated decoders to have a flag if the data they are working with is valid for their decoder (isValid).
Added reference counting to IAudio, IAudioDecoder, and IDataSource
Added better error checking in cAudio sources and they will do a better job of detecting if they are invalid.
Fixed the spelling on cWavAudioDecoderFactory.h
Ogg decoder support for the isValid check.
Time seek ability added to cRawDecoder
Rewrote cWavDecoder. It will now read slightly malformed wav files (and conforms to the wav spec), no longer has a bug where 8 bit mono audio samples will play twice as fast as 16 bit mono samples, proper bounds checking to make sure only the audio data is sent to the audio source, and time seeking abilities. The decoder does not support channels over 2, compressed wavs, wavs with more than 1 data or fmt block, or any other blocks that may be present in a wav file. All unsupported blocks will be ignored.
2009-12-07 22:25:08 +00:00