Commit graph

182 commits

Author SHA1 Message Date
kaetemi
cdb719130f Changed: #1459 Simplify the sound group controller interface 2012-04-13 11:54:20 +02:00
kaetemi
de4e298fb6 Changed: Provide a fake sound name for fake CSound created by music channel 2012-04-13 03:10:13 +02:00
kaetemi
b13f0dcb34 Fixed: #1298 Replace assert with warning when physical sound source fails to play 2012-04-12 21:38:28 +02:00
kaetemi
4a02d20a4c Fixed: The default max distance for sources is now sqrt(numeric_limits<float>::max())
--HG--
branch : sound_dev
2012-04-12 18:16:53 +02:00
kaetemi
b371588b93 Added: Log warnings when setting excessively high max distances on sound sources
--HG--
branch : sound_dev
2012-04-12 18:06:33 +02:00
kaetemi
f9745080b5 Removed: Warning messages
--HG--
branch : sound_dev
2012-04-12 17:56:54 +02:00
kaetemi
d63bda28f4 Fixed: Relative positioning mode was not implemented in OpenAL library driver with manual rolloff enabled
--HG--
branch : sound_dev
2012-04-12 17:48:56 +02:00
kaetemi
b6025fc008 Fixed: Always commit 3d positioning when calling play on sources. This avoids having to wait for update call. Sources no longer cause loud noise when ryzom client finishes loading
--HG--
branch : sound_dev
2012-04-12 17:24:06 +02:00
kaetemi
015f47d71d Changed: #795 Handle safely when audio decoder fails to be created
--HG--
branch : sound_dev
2012-04-12 12:06:03 +02:00
kaetemi
a33f3e7e32 Merge
--HG--
branch : sound_dev
2012-04-12 00:28:10 +02:00
kaetemi
1cd4936ceb Changed: #795 #1460 Make sure the streaming thread safely stops in all cases
--HG--
branch : sound_dev
2012-04-12 00:25:26 +02:00
kaetemi
b486e22a96 Fixed: Typos and warnings
--HG--
branch : sound_dev
2012-04-11 23:34:36 +02:00
kaetemi
1b49b59e02 Fixed: #795 Hang when stopping file stream source that is synchronously waiting for play
--HG--
branch : sound_dev
2012-04-11 21:51:01 +02:00
kaetemi
695dac7783 Added: #1460 Music channel on top of stream file source when driver does not have built-in music channels
--HG--
branch : sound_dev
2012-04-11 19:30:37 +02:00
kaetemi
2f504788f0 Added: #795 Synchronous loading of audio file streams
--HG--
branch : sound_dev
2012-04-11 18:07:16 +02:00
kaetemi
bbd291a089 Added: #795 Streamed audio file sound source
--HG--
branch : sound_dev
2012-04-11 17:39:46 +02:00
kaetemi
57aa8b4d74 Fixed: #795 Removed unused include
--HG--
branch : sound_dev
2012-04-11 15:45:59 +02:00
kaetemi
19599cd9f5 Changed: Allow changing looping parameter of audio decoder after init
--HG--
branch : sound_dev
2012-04-11 15:44:02 +02:00
kaetemi
1b88f2782b Moved: #795 CAudioDecoder from stream ogg vorbis sample to nlsound
--HG--
branch : sound_dev
2012-04-11 11:52:28 +02:00
kaetemi
09717924cf Removed: #795 CMusicBuffer from sound lowlevel
--HG--
branch : sound_dev
2012-04-11 11:40:42 +02:00
kaetemi
b15e014a9d Changed: #795 Move vorbis dependency to nlsound and group project files
--HG--
branch : sound_dev
2012-04-10 20:40:24 +02:00
kaetemi
84f11c6327 Fixed: #1459 Done
--HG--
branch : sound_dev
2012-04-10 18:18:58 +02:00
kaetemi
11f0872a01 Added: #1459 Load group controller from sound sheets
--HG--
branch : sound_dev
2012-04-10 16:32:04 +02:00
kaetemi
0b64102ab8 Added: #1459 Group controllers for sound sources
--HG--
branch : sound_dev
2012-04-10 15:24:35 +02:00
kaetemi
57411c0a7b Added: FormatNotSet value for TBufferFormat
--HG--
branch : sound_dev
2012-04-10 00:06:05 +02:00
kaetemi
c4adc53a0f Removed: #795 XAudio2 music implementation
--HG--
branch : sound_dev
2012-04-09 21:46:07 +02:00
kaetemi
8491bd4829 Removed: OpenAL music implementation
--HG--
branch : sound_dev
2012-04-09 21:12:48 +02:00
kaetemi
dd02d76df8 Reverted: 3fdff8debe52 No comment
--HG--
branch : sound_dev
2012-04-09 20:28:14 +02:00
kaetemi
19546acade Reverted: a1603fc4efbf Only release internal resources in driver destructor, not the driver classes, otherwise there will be crashes on exit. The driver classes are deleted by the application.
--HG--
branch : sound_dev
2012-04-09 20:18:13 +02:00
kaetemi
f858bbfbe9 Added: Log warnings when setting excessively high max distances on sound sources
--HG--
branch : sound_dev
2012-04-09 20:00:53 +02:00
kaetemi
87ba382ef5 Reverted: dc87ef1a34b6 Parameter distMax depends on fixed values in sheets and other code. Using this to switch between rolloff and minimum sound is likely causing the glitchy sound volumes of background sounds. Must be fixed in whatever code is using too large value of distMax instead, and not here.
--HG--
branch : sound_dev
2012-04-09 19:03:48 +02:00
kaetemi
afdbc97039 Reverted: 2424536ec6f9 The setAsyncLoading function is used for a different purpose. In our case, async means that the file is read on the fly, and otherwise it is fully loaded into memory before being encoded. Synchronous mode is used for example during loading when hard disk access is not guaranteed.
--HG--
branch : sound_dev
2012-04-09 18:42:31 +02:00
kervala
3c47b9f8d5 Fixed: #1441 Remove all remaining .vcproj, Makefiles, automake scripts, etc... 2012-03-03 10:49:42 +01:00
kervala
6306833423 Changed: New option WITH_INSTALL_LIBRARIES which allows user to install only final binaries and no development files (header, static libraries, etc...) 2011-09-11 14:44:37 +02:00
kervala
4027e82360 Changed: #825 Remove all warnings when compiling Ryzom 2011-06-05 18:06:00 +02:00
kervala
7c27c233eb Changed: Exceptions catched by reference 2011-06-03 10:35:25 +02:00
kervala
043b845f6c Changed: Exceptions catched by reference 2011-06-02 18:44:48 +02:00
kervala
f9cc842b82 Changed: Exceptions catched by reference 2011-06-02 18:31:40 +02:00
vl
5407fe2518 Fixed: ugly fix to not crash when we cannot create a buffer #1116 2011-06-01 00:04:11 +02:00
kervala
8208ec219b Changed: Compilation with VC++ 2010 without STLport 2011-05-28 15:52:48 +02:00
kervala
5baccb8b54 Changed: #878 Fix typos in comments/code 2011-03-09 14:30:51 +01:00
kervala
535b75abd6 Changed: #1251 NeL can't find selected drivers in CMake 2011-02-24 18:01:31 +01:00
vl
51245d5f2f Changed: on mac, openal is always dynlib 2011-02-18 09:10:55 +01:00
kervala
56dc241c3d Fixed: Compilation under Linux with STLport 2011-02-11 18:05:19 +01:00
kervala
ac68e188ab Changed: #1249 Endianness problems while access to disk or memory (patch provided by Jeru) 2011-02-08 18:57:24 +01:00
kervala
ed64aaeb62 Changed: #1231 Remove VC++ projects and solutions which are not needed by Nevrax Linux makefiles 2011-01-10 13:50:07 +01:00
kervala
ec77e6bf4d Fixed: Names and exported symbols for sound drivers (thanks to Krolock) 2010-10-22 09:19:39 +02:00
kervala
86aa43e207 Changed: #825 Remove all warning when compiling Ryzom 2010-10-14 14:01:15 +02:00
kervala
f1c8d140aa Fixed: Removed dummyToAvoidStupidCompilerWarning functions to fix compilation if std*.cpp are included more than once 2010-09-28 11:25:37 +02:00
kervala
84986b79b7 Fixed: Removed dummyToAvoidStupidCompilerWarning functions to fix compilation if std*.cpp are included more than once 2010-09-28 11:18:21 +02:00
kervala
01eb101355 Fixed: Compilation with STLport under Linux (and probably Mac OS X) 2010-09-26 23:27:52 +02:00
kervala
08bcbc3451 Changed: Updated CMake projects 2010-09-25 22:53:33 +02:00
vl
f9903f46de Changed: ogg vorbis lib order 2010-09-24 10:29:06 +02:00
kervala
940de867ee Fixed: Static sound drivers link to nelsnd_lowlevel 2010-09-23 18:48:04 +02:00
vl
837ab5c68f Added: in static, we don't compile fmod since it only exists in dynlib 2010-09-23 15:51:24 +02:00
vl
65a58d76d1 Added: case for static version of the driver 2010-09-23 15:50:44 +02:00
kervala
cd822bc0b4 Fixed: Display of .h files in generated projects 2010-09-19 18:49:03 +02:00
kervala
71da504731 Changed: #825 Remove all warnings when compiling Ryzom 2010-09-15 10:27:26 +02:00
kervala
13de385469 Added: NL_ADD_RUNTIME_FLAGS for libraries 2010-09-14 13:51:44 +02:00
kervala
a983aa0783 Changed: Dependencies definitions 2010-09-11 19:44:22 +02:00
mattraykowski
c3e4ffbe26 merge while working on rebase root source dir 2010-09-03 08:02:04 -06:00
mattraykowski
972e141687 Changed: #842 Added more project prefixes to project labels (aka NeL, Ryzom), converted some more Ryzom projects to the new layout. 2010-09-03 07:07:47 -06:00
kervala
6cf96b9e36 Changed: #825 Remove all warnings when compiling Ryzom 2010-09-02 13:02:03 +02:00
kervala
3bb72a0d06 Changed: Removed propagation of dependencies to other projects (fix lintian warnings) 2010-09-02 09:56:54 +02:00
kervala
1d5f2e8df9 Changed: Removed propagation of dependencies to other projects (fix lintian warnings) 2010-09-01 23:30:06 +02:00
kervala
aa506598d0 Fixed: #1080 Under Linux, load NeL drivers from a specific directory 2010-08-28 14:10:56 +02:00
kervala
e77e93f779 Fixed: infinite loop in ogg vorbis streaming (negative ov_read result means an error) 2010-08-17 23:02:47 +02:00
kervala
57bbdf7a85 Changed: Removed useless dependencies 2010-08-11 19:43:52 +02:00
kervala
4b294f9402 Fixed: libc functions wouldn't be replaced by intrinsics equivalent 2010-08-11 15:05:03 +02:00
kervala
caf1c5151e Fixed: nelsound dependency to nelsound_lowlevel 2010-08-11 14:41:10 +02:00
kervala
c693c47cac Changed: #825 Remove all warning when compiling Ryzom 2010-08-09 16:20:03 +02:00
rti
e1656d14a7 Fixed: minor compile and link errors related to Ogg/Vorbis and nelsnd_lowlevel 2010-08-04 16:31:28 +02:00
kervala
4757228a22 Fixed: numeric_limits not found in Fmod driver 2010-08-03 13:56:34 +02:00
kervala
cec0572a61 Changed: #1030 Allow to queue any buffer not only those managed by CSourceAL 2010-07-29 13:51:37 +02:00
kervala
f565acbd40 Changed: #1030 Implemented getTime() in OpenAL driver 2010-07-29 13:49:41 +02:00
kervala
20a2fbd674 Changed: #1030 Don't add buffer to queue when using sync mode 2010-07-29 13:46:33 +02:00
kervala
0c5d50299b Fixed: #1032 Crash in OpenAL driver when a music is playing and user returns to selection menu 2010-07-29 13:44:55 +02:00
kervala
2a1441858f Changed: #1031 Music is "stopped" when client is loading with OpenAL driver 2010-07-28 21:13:39 +02:00
kervala
39e25f218e Changed: #1031 Music is "stopped" when client is loading with OpenAL driver 2010-07-28 20:32:48 +02:00
kervala
878996d64d Changed: #1031 Music is "stopped" when client is loading with OpenAL driver 2010-07-28 20:28:16 +02:00
kervala
f768181706 Changed: #1030 Don't delete buffers if they will be reused 2010-07-28 20:12:45 +02:00
kervala
161e40a3f2 Changed: CListenerFMod inherits from NLMISC::CManualSingleton<CListenerFMod> 2010-07-28 19:42:46 +02:00
kervala
6dec8a3cf5 Changed: #878 Fix typos in comments/code 2010-07-28 19:27:38 +02:00
kervala
b0a33c716c Changed: #1030 Implement music streaming in OpenAL driver 2010-07-27 20:23:39 +02:00
kervala
8dff836491 Fixed: #1030 Implement music streaming in OpenAL driver 2010-07-27 19:22:19 +02:00
kervala
f0205328dc Changed: #1030 Implement music streaming in OpenAL driver 2010-07-27 18:56:34 +02:00
kervala
163e2dc1a5 Changed: #1030 Implement music streaming in OpenAL driver 2010-07-27 18:52:05 +02:00
kervala
5950b1f5bf Changed: #1030 Implement music streaming in OpenAL driver 2010-07-27 17:53:08 +02:00
kervala
4d586ef8d0 Changed: #1030 Implement music streaming in OpenAL driver 2010-07-27 17:43:36 +02:00
kervala
a3ae822a88 Changed: #878 Fix typos in comments/code 2010-07-27 13:21:11 +02:00
kervala
88a5f4e074 Changed: #878 Fix typos in comments/code 2010-07-27 13:16:41 +02:00
mattraykowski
27ec384cb8 Change: #842 Added some source groups to mimic VS SLNs. 2010-07-23 13:54:42 -06:00
mattraykowski
f76025cfac Change: #842 Setting WITH_STATIC_DRIVERS links GL/D3D and FMOD/AL/DS/XA to 3D and sound respectively. 2010-07-23 13:05:21 -06:00
Matt Raykowski
b4a635c412 Changed: #842 Added helper macros to cleanup files, removed useless DECORATE_NEL_LIB macro and started adding WITH_STATIC/WITH_STATIC_DRIVER support for full static linking. 2010-07-14 12:13:07 -05:00
vl
39b6194f02 Changed: misc things 2010-07-08 16:06:34 +02:00
kervala
ae239a6b94 Changed: #880 Use PCH under Linux with CMake 2010-06-30 15:31:31 +02:00
kervala
0238458539 Changed: #880 Use PCH under Linux with CMake (use the same macros for Windows too) 2010-06-26 16:47:36 +02:00
kervala
7d7ded9528 Changed: #842 Added new optimizations for VC++ linker and compiler 2010-06-26 16:37:27 +02:00
kervala
fc22fcb3de Changed: #841 Change the wrong header in the source code 2010-06-25 21:08:52 +02:00
kervala
7a99daae23 Changed: #880 Use PCH under Linux with CMake 2010-06-25 12:58:52 +02:00