Commit graph

1079 commits

Author SHA1 Message Date
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
df6213ed79 Fixed: #795 #1460 Linux compile of new sound samples 2012-04-12 00:27:03 +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
83ce48e8dd Changed: Make CWinThread::start more sane, and fixed a typo 2012-04-11 22:05:18 +02:00
kaetemi
20e3ce42a3 Fixed: Implementation for CPThread::isRunning() 2012-04-11 21:55:33 +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
a0a03da71a Added: Some sort of implementation for CPThread::isRunning() 2012-04-11 20:20:02 +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
cb611e768e Added: #795 Sample for creating a sound source using .sound sheet with .ogg file 2012-04-11 17:44:57 +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
ed1cd4e6bc Fixed: Typo in cmake project for stream sample 2012-04-11 15:45:04 +02:00
kaetemi
0a4d8d06bd Changed: Allow changing looping parameter of audio decoder after init 2012-04-11 15:44:02 +02:00
kaetemi
3aff28aab4 Added: Function to set thread priority 2012-04-11 15:38:49 +02:00
kaetemi
392b224799 Fixed: Potential bug in CWinThread, someone using a mutex on the stack again 2012-04-11 13:24:03 +02:00
kaetemi
e41f5da96b Changed: Turned off pitch change in stream ogg vorbis sample 2012-04-11 11:55:30 +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
1aade54d7d Changed: Apply changes from CMusicBuffer to CAudioDecoder 2012-04-11 11:39:21 +02:00
kaetemi
f4cccb233d Changed: #1459 Use effects group controller for ryzom client effects volume control 2012-04-11 11:24:48 +02:00
kaetemi
f5df001376 Changed: Improve performance of ryzom client CSoundManager. Strange code, though. 2012-04-11 00:48:47 +02:00
kaetemi
c350c25b1e Merge: From default to sound_dev 2012-04-10 20:49:55 +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
kervala
859eb1b1cb Changed: #825 Remove all warnings when compiling Ryzom 2012-04-10 13:50:23 +02:00
kaetemi
933c939509 Added: FormatNotSet value for TBufferFormat 2012-04-10 00:06:05 +02:00
kaetemi
14242f73c6 Fixed: Update audio mixer during buffer streaming in streaming sample 2012-04-10 00:05:01 +02:00
kaetemi
d229915603 Moved: Sound sources sample to sound sample directory
Added: CMake configuration for ogg vorbis stream source sample
2012-04-09 22:36:12 +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
kaetemi
870b089f1f Added: Useful comment 2012-04-09 18:24:09 +02:00
kaetemi
9821db2b21 Fixed: Do not mess with the order of the old TSampleFormat enum 2012-04-09 18:21:41 +02:00
kervala
ed95d4ed79 Changed: #825 Remove all warnings when compiling Ryzom 2012-04-07 22:30:39 +02:00
kervala
d3bb7e1062 Changed: #825 Remove all warnings when compiling Ryzom 2012-04-07 20:04:08 +02:00
kervala
22b77a597f Changed: #825 Remove all warnings when compiling Ryzom 2012-04-07 15:56:41 +02:00