Commit Graph

62 Commits

Author SHA1 Message Date
ottona a5db74568f towards win buildability 2022-08-18 15:35:37 +02:00
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
Brigham Keys, Esq 9b6b2f4853 Made the .so generated be versioned so that packagers can package it easier for the purpose of putting cAudio into repositories 2016-08-01 14:08:19 -05:00
Ben Rosser 1dfc07ecc3 If CAUDIO_SYSTEM_OGG is set, use system ogg/vorbis
This commit makes it possible to link against system-wide copies
of libogg and libvorbis instead of using the bundled dependencies
here, by setting -DCAUDIO_SYSTEM_OGG=TRUE at configuration time.
By default, CAUDIO_SYSTEM_OGG is False so as to not break any
default behavior.
2016-07-21 16:22:18 -04: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
Eric Lavesson 5598b4f386 Remove a duplicated virtual destructor
Seems like this issue was fixed independently by commits
22ff1a97 and 36943a18, and both ended up getting merged,
giving us a redeclaration of the virtual destructor.
2015-09-28 22:24:58 +02: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
Henri Hyyryläinen 22ff1a97a9 Added virtual destructor to device list to stop gcc complaining about undefined behaviour 2015-04-08 21:08:21 +03:00
Eric Lavesson 77fd0e4b6a Use a relative path for configure_file 2014-12-25 15:13:33 +01:00
Raynaldo Rivera d3229b1c78 Updated version numbers 2014-09-02 00:02:55 -07:00
Raynaldo Rivera fadc71272b Fixed compiling issue on windows concerning cAudioString 2014-09-01 23:06:18 -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
Raynaldo Rivera 9e85ee9520 Merge pull request #20 from LoneBoco/master
Fixed unicode support and minor crash.
2012-07-12 11:14:33 -07: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 de42f649c4 Fixed compilation on non-Windows platforms. 2012-07-09 18:44:14 -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
prettyvanilla dcdc3b1c48 fix extra qualification on member 'cEFXFunctions'
(compilation error on gcc 4.7 without -fpermissive)
2012-07-04 02:26:59 +02:00
wildicv 2e0234d469 Updated documentation to reflect the new 2.3.0 branch 2012-06-24 16:41:50 -07:00
wildicv 5d082f26fd Updated documentation on cAudio.h and added a Doxyfile for easy doxygen documentation 2012-06-24 16:12:44 -07:00
Gero Müller 86c95061fa use CMAKE_INSTALL_PREFIX on linux 2012-05-03 10:14:39 +02: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
Jonas Erlandsson c9cfd31b29 Linux compat changes.
Removed line 4-6 in CMake/InstallDependencies.cmake so Linux also get the macros.
Edited DependenciesSource/.../CMakeLists.txt to add -fPIC compiler option on Linux 64bit.
Edited all Examples/.../CMakeLists.txt to rename "Main.cpp" to "main.cpp".
Edited cAudio/include/cSTLAllocator.h to make the inclusion of cstddef.h explicit for gcc 2.6+.

Despite this you still need to copy Dependencies/include/OpenAL/alc.h to /usr/include/AL/alc.h (for Ubuntu or whatever path that is on your system) for it to compile if you are not running the development build of OpenAL.
2011-12-27 12:37:02 +01:00
Murat Suri c9eef4b1fd * Fix iOS bug 2011-06-27 20:49:11 +00:00
Raynaldo Rivera 24f2d4135c Added support for MINGW preprocessor so samples compile correctly on mingw builds 2011-06-26 17:40:05 +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 a0f360c86c * Fix c# string issues 2011-06-25 22:46:38 +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