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
Joshua Jones
97c7135bbc
Added the ability to disable the plugin system with a define.
2010-02-27 23:58:18 +00:00
Raynaldo Rivera
fcde0271a4
Added a vorbis close_func callback to prevent crashing on iphone devices using the tremor vorbis library.
2010-02-27 20:51:05 +00:00
Joshua Jones
09a7d8d6e7
Removed buggy memory manager.
2010-02-25 02:11:15 +00:00
Joshua Jones
7e47541272
Fixes to mac dynamic lib loading.
...
Fix to prevent crash on uninstall of plugins loaded from disk.
2010-02-24 05:02:37 +00:00
Raynaldo Rivera
73db60b26e
Corrected two missuse of #ifdef CAUDIO_USE_MMGR
2010-02-23 01:14:30 +00:00
Raynaldo Rivera
fe2d4c9e8b
enclosed the memory manager in CAUDIO_USE_MMGR
2010-02-23 01:07:20 +00:00
Joshua Jones
1e334ead1a
Fix to cause the onStop event to properly fire when audio sources hit the end of their stream.
2010-02-21 21:38:05 +00:00
Raynaldo Rivera
a61706abbf
change ifndef to ifdef becuase of linux
2010-02-21 04:59:20 +00:00
Raynaldo Rivera
96a40971ee
Adjusted a error in the linux makefile
2010-02-21 04:27:00 +00:00
Raynaldo Rivera
507dbfd4d3
Final fix for the memory manager #CAUDIO_USE_MMGR
2010-02-21 04:09:44 +00:00
Raynaldo Rivera
5599cdadf3
trying diffrent way to prevent logging of files when CAUDIO_USE_MMGR isnt defined
2010-02-21 04:00:32 +00:00
Raynaldo Rivera
6534bc16bf
another change
2010-02-21 03:47:13 +00:00
Raynaldo Rivera
a2dcb1dc2c
small include change
2010-02-21 03:44:02 +00:00
Raynaldo Rivera
c9b4953246
Misc fixes
2010-02-21 03:42:40 +00:00
Raynaldo Rivera
0bc4b9c530
added the last need header for memory manager support under linux
2010-02-21 03:27:53 +00:00
Raynaldo Rivera
8135b93bc3
Added another define to the memory manager
2010-02-21 03:00:18 +00:00
Raynaldo Rivera
d7cc61ab1e
Added define to get memory manager to compile on windows.
2010-02-21 02:30:34 +00:00
Joshua Jones
03fb7166e1
Fix to linux support of dynamic libraries (also works on windows)
2010-02-21 02:19:14 +00:00
Raynaldo Rivera
bea4b72893
Added the memory manager class
2010-02-21 01:47:24 +00:00
Raynaldo Rivera
4cff1194d0
Final make file
2010-02-20 21:45:11 +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
Raynaldo Rivera
4cba44dd46
Added a ifdef to cAudioManager to include alcext as well has the somewaht complete makefile
2010-02-20 05:41:28 +00:00
Raynaldo Rivera
ff15f046a1
Is now linux compatable
2010-02-20 04:15:37 +00:00
Joshua Jones
b83f75d0c7
Final part of the rename to fix casing.
2010-02-20 04:11:58 +00:00
Joshua Jones
480092b33c
Part of a 2 part rename of wave decoder to fix the casing.
2010-02-20 04:11:12 +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
Joshua Jones
9b5870b89b
Small fix to prevent the end of an audio stream from being cut off when the source auto resets when stream ends.
2010-02-18 05:00:43 +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
Raynaldo Rivera
72169dc8f8
Added the mutex locking to the signalEvent()
2010-02-18 02:22:50 +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
857f2012b4
Fixed the linux build version.
2010-02-16 03:29:51 +00:00
Joshua Jones
66a52d41dd
Fixed a bug that would cause an exception when unregisterAllEventHandlers was called.
2010-02-14 23:33:10 +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
aae976f3e4
added the damn .close()
2010-02-14 22:09:15 +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
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
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