Commit Graph

89 Commits

Author SHA1 Message Date
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
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
Raynaldo Rivera 05d989eef2 Took out the linking to voribisenc that we did not use cutting the link size by half. 2010-03-08 04:29:30 +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
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