Commit Graph

45 Commits

Author SHA1 Message Date
areay 0933438816 Trigger onUpdate signal within cAudioManager. Added demo tutorial8. 2016-11-29 23:27:55 +13:00
Royal Rivera 27c1e05baf Added fix for xcode regarding nullptr and not_eq not being recognized in osx 2016-08-14 19:16:32 -07:00
Brigham Keys, Esq 2a790c34da Forgot to apply the macro on the delete, everything should be fine now 2016-08-02 12:24:38 -05:00
Brigham Keys, Esq 2e0bba4048 Fixed the compiler macro 2016-08-01 19:07:27 -05:00
Brigham Keys, Esq d9f45c16d6 Removed memory leak 2016-08-01 17:09:32 -05:00
Brigham Keys, Esq 22be572855 Made the code a bit less ugly 2016-08-01 17:06:40 -05:00
Brigham Keys, Esq 87f3aff423 Modified the audiomanager so that it can configure where it is going to place the log files 2016-08-01 17:03:52 -05:00
Ronald McCormick c1c2441a2a Update cAudioManager.cpp 2016-02-16 15:52:33 -06:00
Ronald McCormick 9dde4e4062 Dont drop the already dropped source. 2016-02-11 14:24:02 -06:00
Raynaldo Rivera b0a778b6a9 Merge pull request #34 from Gachapen/fix_dlerror
Fix compile error with dlerror() on Android
2016-01-12 21:20:47 -07:00
Arthur Danskin 36943a1885 add static source type, various bug and compiler error/warning fixes 2015-09-27 15:11:51 -07:00
Magnus Bjerke Vik 3c1cbcfcf1 Fix compile error with dlerror() on Android
Apparently some dlerror() implementations return the error string as a
const char* in stead of a char* (e.g. Android NDK). Making the variable
storing the returned value a const ensures that it works with any
implementation.

Tested on Linux (GCC) and Android (GCC, API 9, ARM).
2015-08-05 11:26:44 +02:00
Raynaldo Rivera d3229b1c78 Updated version numbers 2014-09-02 00:02:55 -07:00
Raynaldo Rivera 241a89c919 Fixed plugin loading error on linux 2014-09-01 19:33:38 -07:00
prettyvanilla 9dabaaa560 Fixed unicode support for EAX-plugin. 2013-01-26 20:09:13 +01:00
John Norman 9714a3a903 Fixed a compile error and a crash bug.
Fixed a compile error in cPluginManager.cpp.
Fixed a crash bug in cAudioManager.cpp.  The iterator was becoming
invalid as dropping an audio source was removing it from the vector
being iterated through.
2012-07-10 23:13:09 -07:00
John Norman 3397d41ba8 More unicode fixes.
Fixed more unicode stuff I missed the first time around.
2012-07-04 11:27:58 -07:00
John Norman 6e02974b10 Fixed unicode support. 2012-07-04 11:08:23 -07:00
unknown 61f4ee609a Renamed setMaxDistance() to setMaxAttenuationDistance() to clear up
confusion on what the function is intended to do
2012-02-28 15:52:06 -07:00
Raynaldo Rivera 118f8da5d2 Merge pull request #11 from d-Pixie/master
Fix for threading on Linux.
2012-02-19 10:37:31 -08:00
Jonas Erlandsson 1c3e227ba8 Fix that fixes threading on Linux. 2012-02-19 19:22:31 +01:00
Raynaldo Rivera 2c087fd8a8 Fixed the ReleaseAllSources() bug that occured. Corrected the index out of
bound error
2012-02-18 00:44:04 -07:00
Murat Suri c9eef4b1fd * Fix iOS bug 2011-06-27 20:49:11 +00:00
Murat Suri a585385f46 * Make it easier to playback AudioCaptureBuffer 2011-06-26 11:16:45 +00:00
Murat Suri a4d12b68c7 * Fix CSharpSample for AudioCapturing (make container object which takes care of buffer alloc/dealloc) 2011-06-26 11:05:51 +00:00
Murat Suri b3ebcd165a * Fix setMasterVolume 2011-06-26 00:01:51 +00:00
Murat Suri 374913e9d0 * Cache volume of the AudioSource so we have a proper master volume handling 2011-06-25 08:32:37 +00:00
Murat Suri 3e6ad2abe0 * Update C# binding
* Update IAudioManager simplify the playback of 2D/3D audio
2011-06-24 21:29:18 +00:00
Murat Suri cf79cb7dc1 * Now its possible to drop a cAudioSource which takes then care of releasing itself.
-- The user can call IAudioManager::release with an cAudioSource but its also possible just to call drop on the AudioSource until true is returned and the AudioSource will be removed from the IAudioManager and deleted.
2011-06-12 21:57:42 +00:00
Murat Suri 313a043eff Fix OSX build errors 2011-06-05 21:47:07 +00:00
Murat Suri a38f99589e * Introduce IAudioDeviceContext and start wrapping OpenAL stuff into cOpenALDeviceContext (its already used for cAudioManager)
* Update C# binding
2011-06-05 20:56:07 +00:00
Murat Suri 456fe37358 * Remove directory prefixes (../Headers/ | ../includes/ ) from all *.h/*.cpp files this is now correctly handled by CMake 2011-06-05 19:23:53 +00:00
Murat Suri dfcf4d5f62 * Abstract away device detection now we have IAudioDeviceList (removed openAL code from capture/sound manager)
* Converted samples to use the devicelist object
* Enhanced C# binding
2011-06-05 17:02:47 +00:00
Murat Suri 43dfdb841c * Fix bug where OpenAL resources never get released
* Remove unused function release from cAudioSource interface
2011-06-05 13:56:16 +00:00
Murat Suri 83a61f0494 * Unify AudioSource creation (Code were unreadable) 2011-06-05 13:51:50 +00:00
Murat Suri c0d73de948 * When you disable ogg now vorbis/ogg projects are excluded also the Ogg source files are excluded 2011-06-05 12:35:14 +00:00
Murat Suri e637c2eba2 * Clean cPluginManager (remove obsolete defs, add error retrieval)
* Prefix mp3Decoder with cAp_ (for cAudioPlugin) so it gets auto loaded
2011-06-05 11:26:07 +00:00
Murat Suri 02fc3f80ac * Add initial C# wrapper version 2011-06-02 22:26:29 +00:00
Murat Suri f6dc2e6a5e * Move static helper functions into cAudio header (this increase maintainability) 2011-06-02 20:26:02 +00:00
Murat Suri 3e062d42ca * Extend CMake build system to reflect all cAudio options (get rid of the cAudioDefines) - now CMake auto generates a cAudioBuildSettings.h based on the user options (this is made per CMake build)
* Modify license headers to reflect new copyrights
2011-06-02 19:59:20 +00:00
Murat Suri 4727870351 * Init version of new Threading system (next: make threading a runtime option instead of a compile time option) 2011-05-29 20:32:21 +00:00
Murat Suri f3cee669d5 * Use "#pragma once" instead ordinary include guards
* Remove redundant mutex locking in DecoderFactories (the access is already locked by the callee)
2011-05-29 18:33:24 +00:00
Raynaldo Rivera 7d1c0d65fd Murat Sari's Fix 2011-05-22 21:00:49 +00:00
Raynaldo Rivera ec9c8485a5 Patched cAudio using nalins patch for unicode support. 2011-05-19 04:36:14 +00:00
Raynaldo Rivera 68df33ca10 Uploading new structure of cAudio using wolfmanfx's cmake system 2011-05-19 04:24:29 +00:00