Commit graph

49 commits

Author SHA1 Message Date
kaetemi
e9124dfed6 Fixed: #1298 Replace assert with warning when physical sound source fails to play 2012-04-12 21:38:28 +02:00
kaetemi
6bd4baaf59 Fixed: The default max distance for sources is now sqrt(numeric_limits<float>::max()) 2012-04-12 18:16:53 +02:00
kaetemi
ebbd1e1280 Added: Log warnings when setting excessively high max distances on sound sources 2012-04-12 18:06:33 +02:00
kaetemi
e6747db29f Removed: Warning messages 2012-04-12 17:56:54 +02:00
kaetemi
8276c40ef2 Fixed: Relative positioning mode was not implemented in OpenAL library driver with manual rolloff enabled 2012-04-12 17:48:56 +02:00
kaetemi
402995d866 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
49ad587f0d Changed: #795 Handle safely when audio decoder fails to be created 2012-04-12 12:06:03 +02:00
kaetemi
4ac6c26dfd Merge 2012-04-12 00:28:10 +02:00
kaetemi
d149a9b328 Fixed: #795 #1460 Linux compile of new sound samples 2012-04-12 00:27:03 +02:00
kaetemi
029e4d4173 Changed: #795 #1460 Make sure the streaming thread safely stops in all cases 2012-04-12 00:25:26 +02:00
kaetemi
c199b84cbf Fixed: Typos and warnings 2012-04-11 23:34:36 +02:00
kaetemi
a472f1e741 Changed: Make CWinThread::start more sane, and fixed a typo 2012-04-11 22:05:18 +02:00
kaetemi
d79c56780b Fixed: Implementation for CPThread::isRunning() 2012-04-11 21:55:33 +02:00
kaetemi
3a36329dd7 Fixed: #795 Hang when stopping file stream source that is synchronously waiting for play 2012-04-11 21:51:01 +02:00
kaetemi
4755ce4db6 Fixed: Compile error 2012-04-11 21:49:25 +02:00
kaetemi
a31836c6e0 Added: Some sort of implementation for CPThread::isRunning() 2012-04-11 20:20:02 +02:00
kaetemi
88b65f0e5b 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
edb934afa1 Added: #795 Synchronous loading of audio file streams 2012-04-11 18:07:16 +02:00
kaetemi
4a5660f16a Added: #795 Sample for creating a sound source using .sound sheet with .ogg file 2012-04-11 17:44:57 +02:00
kaetemi
376e619550 Added: #795 Streamed audio file sound source 2012-04-11 17:39:46 +02:00
kaetemi
5a29626ad5 Fixed: #795 Removed unused include 2012-04-11 15:45:59 +02:00
kaetemi
e7b9b54f8c Fixed: Typo in cmake project for stream sample 2012-04-11 15:45:04 +02:00
kaetemi
61de082fc8 Changed: Allow changing looping parameter of audio decoder after init 2012-04-11 15:44:02 +02:00
kaetemi
ce06393464 Added: Function to set thread priority 2012-04-11 15:38:49 +02:00
kaetemi
700a499f86 Fixed: Potential bug in CWinThread, someone using a mutex on the stack again 2012-04-11 13:24:03 +02:00
kaetemi
e799372c7b Changed: Turned off pitch change in stream ogg vorbis sample 2012-04-11 11:55:30 +02:00
kaetemi
3c98ac7b93 Moved: #795 CAudioDecoder from stream ogg vorbis sample to nlsound 2012-04-11 11:52:28 +02:00
kaetemi
93856ded88 Removed: #795 CMusicBuffer from sound lowlevel 2012-04-11 11:40:42 +02:00
kaetemi
515158bf5b Changed: Apply changes from CMusicBuffer to CAudioDecoder 2012-04-11 11:39:21 +02:00
kaetemi
59f6ff3010 Changed: #1459 Use effects group controller for ryzom client effects volume control 2012-04-11 11:24:48 +02:00
kaetemi
13092fa479 Changed: Improve performance of ryzom client CSoundManager. Strange code, though. 2012-04-11 00:48:47 +02:00
kaetemi
cfbcddd711 Merge: From default to sound_dev 2012-04-10 20:49:55 +02:00
kaetemi
6f14ab2ef2 Changed: #795 Move vorbis dependency to nlsound and group project files 2012-04-10 20:40:24 +02:00
kaetemi
a35d949a4d Fixed: #1459 Done 2012-04-10 18:18:58 +02:00
kaetemi
85c89ea6f8 Added: #1459 Load group controller from sound sheets 2012-04-10 16:32:04 +02:00
kaetemi
fb7d587d94 Added: #1459 Group controllers for sound sources 2012-04-10 15:24:35 +02:00
kaetemi
34c38b68b4 Added: FormatNotSet value for TBufferFormat 2012-04-10 00:06:05 +02:00
kaetemi
517a36d9db Fixed: Update audio mixer during buffer streaming in streaming sample 2012-04-10 00:05:01 +02:00
kaetemi
5fef73923f 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
5c06585390 Removed: #795 XAudio2 music implementation 2012-04-09 21:46:07 +02:00
kaetemi
ce27d14825 Removed: OpenAL music implementation 2012-04-09 21:12:48 +02:00
kaetemi
602a7b8bc1 Reverted: 3fdff8debe52 No comment 2012-04-09 20:28:14 +02:00
kaetemi
4512fb0a15 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
2c07386ccf Added: Log warnings when setting excessively high max distances on sound sources 2012-04-09 20:00:53 +02:00
kaetemi
2c3ec9880f 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
9c55bc1cdd 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
45fd8648df Added: Useful comment 2012-04-09 18:24:09 +02:00
kaetemi
dfe3beeb4f Fixed: Do not mess with the order of the old TSampleFormat enum 2012-04-09 18:21:41 +02:00
kaetemi
e5bc86ac2c Branched: #100 #167 #168 #794 #795 sound_dev 2012-04-09 17:50:54 +02:00