Commit graph

150 commits

Author SHA1 Message Date
kaetemi
e9f75e639d Fixed: Valgrind warnings 2012-06-28 11:08:36 +02:00
kaetemi
8a696b55e1 Fixed: Make build_soundbank tool work with latest changes
--HG--
branch : sound_dev
2012-06-03 16:00:43 +02:00
kaetemi
6bc3ef2ba6 Changed: Also handle distMax with negative alpha in new manual rolloff function
--HG--
branch : sound_dev
2012-06-03 15:56:47 +02:00
kaetemi
2fc601c556 Changed: Avoid some more sqrt calculations
--HG--
branch : sound_dev
2012-06-03 02:00:32 +02:00
kaetemi
19d2d91f86 Added: Specific code for amplitude based rolloff to avoid unneccesary log10 and pow calls and improve performance
--HG--
branch : sound_dev
2012-06-03 01:50:53 +02:00
kaetemi
fc4d91fad2 Fixed: Sound CSheetId implementation
--HG--
branch : sound_dev
2012-06-02 18:12:38 +02:00
kaetemi
f79f3fca48 Fixed: Sound CSheetID implementation (part 3) (partially tested)
--HG--
branch : sound_dev
2012-06-02 16:06:10 +02:00
kaetemi
9cd7498fe9 Fixed: Sound CSheetID implementation (part 2) (not tested)
--HG--
branch : sound_dev
2012-06-02 15:24:21 +02:00
kaetemi
aa7598efe2 Fixed: Sound CSheetId implementation (part 1) (not tested)
--HG--
branch : sound_dev
2012-06-02 14:54:39 +02:00
kaetemi
cab401fa13 Merged: From default to sound_dev
--HG--
branch : sound_dev
2012-06-02 11:09:14 +02:00
sfb
af454dd1cf Fixed EOL issues and added .hgeol file. 2012-05-29 08:31:11 -05:00
Fabien_HENON
a55297c29a Changed: #1469 StringId conversion to CSheetId for sounds
--HG--
branch : gsoc2012-fabien
2012-05-26 23:40:27 +02:00
Fabien_HENON
f70bdc4032 Changed: #1469 StringId conversion to SheetId for sounds V2 (DOES NOT COMPILE YET)
--HG--
branch : gsoc2012-fabien
2012-05-26 19:21:19 +02:00
Fabien_HENON
5174e15521 Changed: #1469 StringId conversion to SheetId for sound (DOES NOT COMPILE YET)
--HG--
branch : gsoc2012-fabien
2012-05-23 22:27:39 +02:00
kervala
b0c27a92ce Fixed: Some Windows.h inclusions 2012-05-21 10:03:08 +02:00
kaetemi
b3260314ac Fixed: Crash on exit caused by incomplete music channel reset 2012-04-13 23:30:35 +02:00
kaetemi
adfffad551 Fixed: Typo 2012-04-13 14:15:04 +02:00
kaetemi
f17f7e726d Changed: #1459 Reserve functional group controller node names 2012-04-13 13:59:24 +02:00
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