7c8aa15ea2Work on documenting the library for doxygen.
Joshua Jones
2010-02-17 01:42:45 +0000
857f2012b4Fixed the linux build version.
Raynaldo Rivera
2010-02-16 03:29:51 +0000
adeafbdd46Fixed IAudioManager so it will compile under mingw. also created the two plugins cbp project files and added to workspace.
Raynaldo Rivera
2010-02-16 03:18:18 +0000
b118bdc7acFixed the visual studio files to use the _d suffix
Raynaldo Rivera
2010-02-16 03:00:21 +0000
30346e9df1Finished 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.
Raynaldo Rivera
2010-02-16 02:46:27 +0000
2dfc01ed54Removed the annoying .layout
Raynaldo Rivera
2010-02-16 01:40:48 +0000
7db441ce57Uploading new codeblocks project that compiles cAudio
Raynaldo Rivera
2010-02-16 01:38:50 +0000
814a64586eFixed and added needs librarys to compile under mingw32
Raynaldo Rivera
2010-02-16 01:37:25 +0000
d12e0464c7Deleted the todo list file, we are using another method to coordinate our efforts.
Joshua Jones
2010-02-15 00:03:45 +0000
4e59f9befcAdded a license file and readme for the EAXLegacyPreset plugin.
Joshua Jones
2010-02-15 00:00:40 +0000
66a52d41ddFixed a bug that would cause an exception when unregisterAllEventHandlers was called.
Joshua Jones
2010-02-14 23:33:10 +0000
17aa93f57cAdded ability for users to access the plugin manager. Added plugin for legacy EAX presets.
Joshua Jones
2010-02-14 23:16:44 +0000
cb9ae7a72cAdded tutorial 6 shows how to use a custom event handler as well has removed OnInit from the audio source events.
Raynaldo Rivera
2010-02-14 22:54:19 +0000
aae976f3e4added the damn .close()
Raynaldo Rivera
2010-02-14 22:09:15 +0000
7d782233c0Removed the dumpMessages() function made it to act like the console logger.
Raynaldo Rivera
2010-02-14 22:04:30 +0000
0c0a8d12acAdded the file log receiver and also added the dumpMessages() function to the ILogger class.
Raynaldo Rivera
2010-02-14 17:08:16 +0000
b44bf8a1b2Forgot to upload /another/ file.
Joshua Jones
2010-02-14 05:44:36 +0000
c5b1505822Accidentally uploaded a tutorial file that reference a local test mp3.
Joshua Jones
2010-02-14 05:36:14 +0000
b096f1536bRework 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.
Joshua Jones
2010-02-14 05:34:57 +0000
f69d925b4fAdded ability to add effect presets.
Joshua Jones
2010-02-14 03:32:24 +0000
c3bd49da8dUploaded missing files.
Joshua Jones
2010-02-14 01:54:21 +0000
7cf3d7fb0eChanged the tutorails to say cAudio 2.0.0 instead of 1.7.1
Raynaldo Rivera
2010-02-13 19:56:38 +0000
3a3a3b42acSmall change to mp3Decoder.vcproj to make it place the finished binaries in a better spot. Updated the Todo list.
Joshua Jones
2010-02-13 06:00:24 +0000
3f06749573Minor 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.
Joshua Jones
2010-02-13 05:48:19 +0000
08800c5badAdded the event system
Raynaldo Rivera
2010-02-13 04:47:59 +0000
16f222c8a5Changes to make sure undefining decoders and EFX actually removes all pieces of them.
Joshua Jones
2010-02-13 02:34:50 +0000
8a42fbb6e5Added a todo list.
Joshua Jones
2010-02-13 01:45:12 +0000
f644990896Added time and position seeking support to the mp3 decoder plugin.
Joshua Jones
2010-02-13 00:37:10 +0000
e5fa03d1d6Got a basic MP3 Decoder working. Commented out debug console output in mpaudec.
Joshua Jones
2010-02-12 23:11:26 +0000
f0a5c7411dAdded support for adding custom data sources. using registerSource(const char* , IDataSource*) createFromSource(const char*) isSourceRegistered(cont char*) unRegisterSource(cont char*)
Raynaldo Rivera
2010-02-11 15:29:40 +0000
b317412796changed the IAudio objects and cAudio objects to IAudioSource and cAudioSource
Raynaldo Rivera
2010-02-10 21:57:09 +0000
fbd3ecabb4Added version checking to plugins.
Joshua Jones
2010-02-10 04:59:10 +0000
48d264d0beAdded 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.
Joshua Jones
2010-02-10 04:46:00 +0000
011f4a9fc2Added the linux defines to cEFXFunctions.h
Raynaldo Rivera
2010-02-09 06:11:39 +0000
3043f5d4d5Added plugin manager and plugin system to cAudio. Started work on an mp3 decoder plugin. Conflict fixes to earlier commit.
Joshua Jones
2010-02-09 05:58:27 +0000
4e5dcd3443Added support to remove a single audio source.
Joshua Jones
2010-01-19 04:04:40 +0000
30e5b4a99eAdded 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/
Joshua Jones
2010-01-11 00:39:08 +0000
2132eea8bfAdded 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.
Joshua Jones
2009-12-07 22:25:08 +0000
4c76942a7fChanged IAudioManager to no longer use std::strings in the main interface. It now uses const char* strings. The reason this change was made was to make porting to other languages, or even use with other string libraries easier. std::string is no longer required to interface with the library. Added a convenience function (move()) to the cAudio source, making it easier to move a source and do velocity for doppler effects with a single call. Internally, audio sources are now stored in an std::vector for better performance. This change also makes it so that it is no longer required for the user to name a source. The user can pass NULL to name to avoid naming it. Some documentation fixes. Added a stress test app, allowing users and developers test how well cAudio performs under pressure.
Joshua Jones
2009-12-01 01:41:15 +0000
e1bf4ecc9aUpdated the examples to use a better set of characters to denote the default device Removed an unnecessary include in cAudioManager.h Added a define to set the number of buffers used by an audio source Added the last of the previously unsupported OpenAL source parameters (Cones, attenuation tweaking, max/min volume, and rolloff factor) Cleaned up the implementation of cAudio source. It no longer keeps a redundant copy of the state information and functions are now in order that they are defined. Some functions have been renamed to be clearer. Other changes throughout the code to support the changes to the cAudio source.
Joshua Jones
2009-11-28 03:58:24 +0000
cd1a2a61d9Increased buffer size for audio sources from 32k to 64k. Changed song used by Tutorial1_2DSound. Added some comments. Changed cVector3 to use a custom Episilon instead of including float.h (less bloat) Added debug log entries to cAudio Allowed cOggDecoder to return error values from decoding. cAudio now handles those errors a little better.
Joshua Jones
2009-11-21 00:39:46 +0000
0df02507dcAdded some missing files. Included is a default log receiver that pipes the information to the standard out stream (Console).
Joshua Jones
2009-11-20 03:42:20 +0000
6b3e9c5a9dMoved 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.
Joshua Jones
2009-11-20 03:39:56 +0000
e3baec7932Added a "getSource()" function that returns a openal source
Raynaldo Rivera
2009-09-03 03:23:58 +0000
8b1019a98badded a CAUDIO_EAX_ENABLED flag to cAudio Defines and enabled EAX
Raynaldo Rivera
2009-09-03 03:00:03 +0000
d0ff906bb0Changed the 3D tutorial to actually rotate the sound around the listener
Joshua Jones
2009-08-29 22:09:34 +0000
71e1e640b3Made fixes to the release build of the library and examples to put files in the right places, remove debug information, and do full optimization.
Joshua Jones
2009-08-29 21:19:51 +0000
032cb74795Spelling fix to the License Removed floating copy of alut (not used anymore)
Joshua Jones
2009-08-29 20:52:58 +0000
75ece68dcfAdded 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
Joshua Jones
2009-08-29 11:24:31 +0000
c00f6bfc6eGot rid of the alut dependence and also corrected both visual studio and codeblocks project to realize change.
Raynaldo Rivera
2009-08-26 23:46:18 +0000
93e36c4a03Updated tutorials to use cVector3 and the new getListener function
Raynaldo Rivera
2009-08-26 02:55:02 +0000
f9370efcd9Fixed project file to output to bin/win32-visual
Raynaldo Rivera
2009-08-26 02:36:33 +0000
4db524e400Added all needed get functions.
Raynaldo Rivera
2009-08-26 02:19:58 +0000
bcf890f125Changed the return of IAudioCapture::getCapturedAudio to return the size of the data copied to the output buffer instead of void.
Joshua Jones
2009-08-26 01:43:45 +0000
cd024e3425Fixed interface by adding cVector3.h to IAudio.h
Raynaldo Rivera
2009-08-26 01:19:57 +0000
1d677cbce1Added correct file endings and renamed cwav to cWav and eAudio to EAudio
Raynaldo Rivera
2009-08-25 23:56:35 +0000
0c3df1d430Added audio capture capabilities. The user can now get an interface for audio capture from cAudioManager and record audio from the default recording device. Added a raw audio decoder, allowing raw audio to be played if the format and frequency is known. Will also load from .raw files on disk, but will assume the format is 16 bit mono and the frequency is 22050 hz Added a tutorial to show how recording and playback can be done. Added the ability for the user to unregister audio codecs that they will not be using. Also added methods to test for the existance of a decoder and get the decoder factory back. Moved cVector3.h to include instead of Headers to make using it in user projects easier (one less include path) Moved the audio format enum to its own header file. Small fix in the wav decoder to prevent the file header from being played as audio data.
Joshua Jones
2009-08-11 17:57:20 +0000
9933eee54cAdded the missing msvc project files for the tutorials. Added missing 3d vector class;
Joshua Jones
2009-08-08 05:53:29 +0000
28a22c7f73Fixed problem with the msvc project not outputting a .lib file. Updated tutorials to fix minor bugs and pathing issues. Also fixed crash bug on failure to create the audio object. Added msvc projects for all tutorials. Updated the listener class to be self contained and only handle stuff related to the OpenAL listener. It does NOT init OpenAL anymore, that has been moved to cAudioManager. Extended the listener class to support all settings that native OpenAL supports. Cleaned up cFileSource and fixed a crash bug on NULL file handle Fixed returning bad audio buffer chunk sizes from the cOggDecoder on errors in the ogg stream Seeking can now be down in fractions of a second now, changed the seconds field from int to float Fixed various odd formatting. Fixed potential crash bug in cMemorySource if memory could not be allocated. cMemorySource will no longer clear the buffer you give to it before filling it with data. This prevents an overwrite from happening in case of error but the user should provide a zeroed buffer to cMemorySource anyway for safety. Relative seeking is now supported by cOggDecoder.
Joshua Jones
2009-08-08 05:51:32 +0000
ea195bce4dAdd visual studio project files
Raynaldo Rivera
2009-06-21 17:21:38 +0000
65db7abebeAdded small fix to make setPitch() use a float instead of the int it was using
Raynaldo Rivera
2009-06-21 03:28:40 +0000
deeecd0624Add small fix to allow audio files that are shorter then 1 second to be played.
Raynaldo Rivera
2009-06-21 03:27:29 +0000