Commit Graph

18 Commits

Author SHA1 Message Date
Shyotl
1f187b09ee LLCommon cleanup and updating to V2 (V3 now, I guess.) 2011-08-27 01:57:10 -05:00
Shyotl
25bb20046b Added AllowLargeSounds setting to disable v2 sound-decode strictness
Conflicts:

	indra/newview/app_settings/settings.xml
2011-06-09 16:53:46 -05:00
Aleric Inglewood
613c6755e9 Fix sound explorer.
Looping sounds were always showing as 'Looping', even after they
stopped. Detection of stopped sounds is much better now.
Instead of only logging a sound as stopped when the audio source
is destroyed, we now detect whether or not it is associated with
an audio channel or not (the normal way to stop a sound is to set
the channel to NULL). This is still a bit fuzzy, since an
audio channel doesn't necessarily have to be playing, but states
where an audio source is associated with a non-playing audio channel
are only short temporary states that don't affect the usefulness
of the sound explorer.
2011-06-03 22:51:46 +02:00
Aleric Inglewood
8ee4ed96b7 Merge branch 'master' of https://github.com/siana/SingularityViewer
Resolved Conflicts:
	indra/llcommon/aithreadsafe.h

Manually added patch had trailing space more.
2011-05-22 22:42:24 +02:00
Siana Gearz
742ecf395f One last GCC 4.6 stopgap 2011-05-16 02:12:46 +02:00
Aleric Inglewood
697f0ad054 Old VWR-14914 spin-off sound beacon patch.
This makes sound beacons green when playing at
full volume, yellow when playing at a lower volume
and red when they are muted (aka, in another parcel
that you can't hear the sounds of).

Originally this was a debug patch as muted sound
sources used to be implemented by setting the volume
to zero, which happens to use like three times more
CPU: so, having a lot of muted sound source caused
the audio thread to never release a mutex anymore
(cause it was never idle anymore), causing the main
loop to hang, waiting on that mutex - dropping the
FPS drastically. Hence it was necessary to see which
sound sources were muted for debugging purposes.
(Since VWR-14914, muted source source are not played
at all anymore, so they do not take extra CPU).

It's still fun to see this extra information though,
now the patch exists anyway.
2011-05-15 02:23:13 +02:00
Aleric Inglewood
fa51d52578 Workaround for gcc 4.2.x.
g++ 4.2 (and possibly earlier) apparently call a copy
constructor when passing a temporary to a function
that takes a const reference. Added code to allow
copy-constructing the AI*Access classes for this
compiler.

g++-4.2.x also bails out when it encounters files that
do not end on a newline. So, also added those where
they were missing.
2011-05-10 13:47:17 +02:00
Aleric Inglewood
81550aa6de Workaround for gcc 4.2.x.
g++ 4.2 (and possibly earlier) apparently call a copy
constructor when passing a temporary to a function
that takes a const reference. Added code to allow
copy-constructing the AI*Access classes for this
compiler.

g++-4.2.x also bails out when it encounters files that
do not end on a newline. So, also added those where
they were missing.
2011-05-10 03:11:48 +02:00
Shyotl
81158d1e79 V2 llaudio merge 2011-02-21 02:02:24 -06:00
Siana Gearz
1919c00f2d Audio engine, fix Wind Synth 2011-02-08 00:46:17 +01:00
unknown
227a72c421 VC2010 cmake alterations. Lib stuff not included. 2010-10-05 01:34:35 -05:00
unknown
2a584cb0fd Happy now, GCC? 2010-10-05 01:33:35 -05:00
unknown
7b409eb7ab -Enabled multi-processor compiling with Visual Studio
-Fixed refrences to secondlife-bin.exe in build scripts
-Added ability to blacklist sounds through Sound Explorer floater.
-Added a missing color to the silver skin
2010-09-30 00:45:34 -05:00
Beeks
5ce4286fd7 f 2010-08-22 15:14:30 -04:00
phr0z3nt04st
9e14b03165 Added ability to save scripts from objects from File -> Save as... and merged fixes for Unix systems, new detection for viewer 2.0 2010-07-20 21:44:16 -05:00
phr0z3nt04st
82aef8fa4c Massive commit, beefed up the audio crash prevention, made a blacklist for assets, added sound explorer, fixed import, added item button to vfs explorer.
JELLY ROLL
2010-07-08 00:20:37 -05:00
phr0z3nt04st
949e269402 Added zmagic to decoding of ogg files instead of snowglobes audio crash fix, allows old sounds longer then 30 secs to play. 2010-05-16 22:05:10 -05:00
Hazim Gazov
7a86d01598 Imported existing code 2010-04-02 02:48:44 -03:00