Commit Graph

10 Commits

Author SHA1 Message Date
Raynaldo Rivera e3baec7932 Added a "getSource()" function that returns a openal source 2009-09-03 03:23:58 +00:00
Joshua Jones 75ece68dcf Added 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
2009-08-29 11:24:31 +00:00
Raynaldo Rivera 198124c988 Correct const use. 2009-08-26 03:06:36 +00:00
Raynaldo Rivera 4db524e400 Added all needed get functions. 2009-08-26 02:19:58 +00:00
Raynaldo Rivera 148e6af912 Broken interfaces 2009-08-26 01:16:40 +00:00
Joshua Jones 0c3df1d430 Added 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.
2009-08-11 17:57:20 +00:00
Raynaldo Rivera ea195bce4d Add visual studio project files 2009-06-21 17:21:38 +00:00
Raynaldo Rivera 65db7abebe Added small fix to make setPitch() use a float instead of the int it was using 2009-06-21 03:28:40 +00:00
Raynaldo Rivera deeecd0624 Add small fix to allow audio files that are shorter then 1 second to be played. 2009-06-21 03:27:29 +00:00
Raynaldo Rivera 9cac8153da 2009-06-21 03:24:30 +00:00