Commit graph

149 commits

Author SHA1 Message Date
kaetemi
6cfb10a275 Fixed: Make build_soundbank tool work with latest changes 2012-06-03 16:00:43 +02:00
kaetemi
41069c4582 Changed: Also handle distMax with negative alpha in new manual rolloff function 2012-06-03 15:56:47 +02:00
kaetemi
1eae7bc35b Changed: Avoid some more sqrt calculations 2012-06-03 02:00:32 +02:00
kaetemi
1709e7ed8a Added: Specific code for amplitude based rolloff to avoid unneccesary log10 and pow calls and improve performance 2012-06-03 01:50:53 +02:00
kaetemi
1a32d2691c Fixed: Sound CSheetId implementation 2012-06-02 18:12:38 +02:00
kaetemi
1ac3f3f170 Fixed: Sound CSheetID implementation (part 3) (partially tested) 2012-06-02 16:06:10 +02:00
kaetemi
c935b00119 Fixed: Sound CSheetID implementation (part 2) (not tested) 2012-06-02 15:24:21 +02:00
kaetemi
ea6ede03ba Fixed: Sound CSheetId implementation (part 1) (not tested) 2012-06-02 14:54:39 +02:00
kaetemi
b7d687d0c0 Merged: From default to sound_dev 2012-06-02 11:09:14 +02:00
sfb
2f9410f22d Fixed EOL issues and added .hgeol file. 2012-05-29 08:31:11 -05:00
Fabien_HENON
67a05e8c28 Changed: #1469 StringId conversion to CSheetId for sounds 2012-05-26 23:40:27 +02:00
Fabien_HENON
c2a054fe90 Changed: #1469 StringId conversion to SheetId for sounds V2 (DOES NOT COMPILE YET) 2012-05-26 19:21:19 +02:00
Fabien_HENON
efc409a319 Changed: #1469 StringId conversion to SheetId for sound (DOES NOT COMPILE YET) 2012-05-23 22:27:39 +02:00
kervala
4c0d138212 Fixed: Some Windows.h inclusions 2012-05-21 10:03:08 +02:00
kaetemi
f815bb2549 Fixed: Crash on exit caused by incomplete music channel reset 2012-04-13 23:30:35 +02:00
kaetemi
0e5d7137d6 Fixed: Typo 2012-04-13 14:15:04 +02:00
kaetemi
45a857b564 Changed: #1459 Reserve functional group controller node names 2012-04-13 13:59:24 +02:00
kaetemi
77c3ccb1e1 Changed: #1459 Simplify the sound group controller interface 2012-04-13 11:54:20 +02:00
kaetemi
beae63c1a0 Changed: Provide a fake sound name for fake CSound created by music channel 2012-04-13 03:10:13 +02:00
kaetemi
616faf1c51 Fixed: #1298 Replace assert with warning when physical sound source fails to play 2012-04-12 21:38:28 +02:00
kaetemi
1926c56f64 Fixed: The default max distance for sources is now sqrt(numeric_limits<float>::max()) 2012-04-12 18:16:53 +02:00
kaetemi
4973e05183 Added: Log warnings when setting excessively high max distances on sound sources 2012-04-12 18:06:33 +02:00
kaetemi
e0369c701c Removed: Warning messages 2012-04-12 17:56:54 +02:00
kaetemi
dec156f728 Fixed: Relative positioning mode was not implemented in OpenAL library driver with manual rolloff enabled 2012-04-12 17:48:56 +02:00
kaetemi
a87afeb44b 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 2012-04-12 17:24:06 +02:00
kaetemi
55a95afef0 Changed: #795 Handle safely when audio decoder fails to be created 2012-04-12 12:06:03 +02:00
kaetemi
68562243ec Merge 2012-04-12 00:28:10 +02:00
kaetemi
65096786e1 Changed: #795 #1460 Make sure the streaming thread safely stops in all cases 2012-04-12 00:25:26 +02:00
kaetemi
afb32cfe1a Fixed: Typos and warnings 2012-04-11 23:34:36 +02:00
kaetemi
aa3472e9d1 Fixed: #795 Hang when stopping file stream source that is synchronously waiting for play 2012-04-11 21:51:01 +02:00
kaetemi
25cffcdd12 Added: #1460 Music channel on top of stream file source when driver does not have built-in music channels 2012-04-11 19:30:37 +02:00
kaetemi
d886df588b Added: #795 Synchronous loading of audio file streams 2012-04-11 18:07:16 +02:00
kaetemi
fe70efdc6c Added: #795 Streamed audio file sound source 2012-04-11 17:39:46 +02:00
kaetemi
30240f6e52 Fixed: #795 Removed unused include 2012-04-11 15:45:59 +02:00
kaetemi
0a4d8d06bd Changed: Allow changing looping parameter of audio decoder after init 2012-04-11 15:44:02 +02:00
kaetemi
b02784f55f Moved: #795 CAudioDecoder from stream ogg vorbis sample to nlsound 2012-04-11 11:52:28 +02:00
kaetemi
4eeb06857c Removed: #795 CMusicBuffer from sound lowlevel 2012-04-11 11:40:42 +02:00
kaetemi
17ff9e9f68 Changed: #795 Move vorbis dependency to nlsound and group project files 2012-04-10 20:40:24 +02:00
kaetemi
2825b8b402 Fixed: #1459 Done 2012-04-10 18:18:58 +02:00
kaetemi
6b88c8dd69 Added: #1459 Load group controller from sound sheets 2012-04-10 16:32:04 +02:00
kaetemi
8a6b6e218c Added: #1459 Group controllers for sound sources 2012-04-10 15:24:35 +02:00
kaetemi
933c939509 Added: FormatNotSet value for TBufferFormat 2012-04-10 00:06:05 +02:00
kaetemi
385fdefbfc Removed: #795 XAudio2 music implementation 2012-04-09 21:46:07 +02:00
kaetemi
e0350b84c9 Removed: OpenAL music implementation 2012-04-09 21:12:48 +02:00
kaetemi
50fdf13ac5 Reverted: 3fdff8debe52 No comment 2012-04-09 20:28:14 +02:00
kaetemi
0a07e483f9 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. 2012-04-09 20:18:13 +02:00
kaetemi
dee18c2e72 Added: Log warnings when setting excessively high max distances on sound sources 2012-04-09 20:00:53 +02:00
kaetemi
2e47ab7fe4 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. 2012-04-09 19:03:48 +02:00
kaetemi
51ac3a0e38 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. 2012-04-09 18:42:31 +02:00
kervala
41551e3026 Fixed: #1441 Remove all remaining .vcproj, Makefiles, automake scripts, etc... 2012-03-03 10:49:42 +01:00