Commit Graph

76 Commits (ec00f7f14fbf16992b71ddd54e583ba07fdfd523)

Author SHA1 Message Date
callum_linden c0bd675fdb NORSPEC-196: fix frame stalls caused by FmodEx logging 2013-05-21 17:10:30 -04:00
callum_linden 9707f09fd8 MAINT-2657 Fix (speculative) for Crash in LLAudioEngine_FMODEX::shutdown() 2013-05-06 15:01:13 -07:00
callum cce8d02766 MAINT-2629: limit stream searches to prevent hangs on bad streams 2013-05-01 07:27:59 -04:00
Oz Linden 82e3efeddc merge changes for OPEN-173 2013-04-22 10:16:02 -04:00
callum d9de58b46a OPEN-173 FIX FMODEx Music stutters once every few seconds (OSS patch via Latif Khalifa & Siana Gearz) 2013-04-19 16:29:11 -07:00
Oz Linden ddd5659f81 merge changes for DRTVWR-294 2013-04-19 10:11:29 -04:00
callum_linden 6383c8829f New fix for the fix for Linux build now that gcc upgraded to 4.6 by default 2013-04-17 15:56:45 -07:00
callum_linden 1fa45e7448 Fix for Linux build now that gcc upgraded to 4.6 by default 2013-04-17 15:46:40 -07:00
callum_linden 88eff41649 Merge with viewer-development 2013-04-17 13:38:04 -07:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
prep 207d9fd767 Viewer-chui merge 2013-03-11 14:45:53 -04:00
Graham Madarasz (Graham) 4c6fc784a6 Point autobuild at newer fmodex builds and fix warning being treated as error in llaudioengine_fmodex.cpp 2013-02-04 14:04:22 -08:00
Sovereign Engineer 3a141d2ff3 Cleanup some left over comments in fmodex streaming 2013-02-04 10:25:23 -05:00
callum_linden b0f2f02333 Removed (most) references to older FMOD library - still a little Linux clean up left 2013-02-01 08:44:52 -08:00
Gilbert Gonzales 4c5790d4bf CHUI-667: Post code review changes 2013-01-28 18:27:54 -08:00
callum_linden e503acf7b8 Fix llaudio CMake file to not use FMOD - only FMODEX 2013-01-23 13:28:54 -08:00
callum_linden ba3e89b5c7 first push - patch from CmdCupCake plus force FMODEX on 2013-01-18 16:43:19 -08:00
Cho b47a775199 reverted test commit 2013-01-14 18:37:29 +00:00
Cho a8bc4787b9 test commit 2013-01-11 02:06:01 +00:00
prep e0432f98ee SH-3563. Pull and merge from viewer-development. Modest code changes to fix alignment issue in llAppearance. 2012-11-28 16:36:34 -05:00
Don Kjer 8ba2b38876 Fleshed out target_link_libraries dependencies between libraries. Appearance utility now reads avatar_lad.xml during stubbed out params processing. 2012-09-13 10:25:48 +00:00
Nat Goodspeed d65df92ef4 Trivial commit to force TeamCity to generate a new codeticket number 2012-11-08 07:57:56 -05:00
simon@Simon-PC.lindenlab.com 39b7671d05 MAINT-862 and ER-1781 : Sounds not playing the first time. Reviewed by Kelly. 2012-05-16 17:09:07 -07:00
Richard Linden d32c1c28b4 cleaned up linden_common.h, removing stuff that is mostly unused 2012-02-01 16:39:27 -08:00
Richard Linden 5a14a67e06 converted a bunch of narrowing implicit conversions to explicit 2012-02-01 13:03:46 -08:00
Xiaohong Bao 1a18184f50 fix for SH-2526: Second Life client quickly allocates all available RAM and crashes 2011-12-06 16:45:30 -07:00
Andrew de Laix ec0c28ad83 update ogg-vorbis archive for linux. 2011-03-14 20:24:55 +00:00
Andrew A. de Laix 12c2fd2ef0 update ogg-vorbis archive usage for darwin. 2011-03-07 14:23:09 -08:00
Alain Linden 88f507f9cc fixes to get openal working on windows. 2011-03-01 15:32:35 -08:00
Andrew A. de Laix 1ba64d9b14 Automated merge with https://bitbucket.org/lindenlab/viewer-development 2011-01-24 14:28:51 -08:00
Alain Linden 738c754608 windows autobuildibatized (bye bye install.py...) 2011-01-14 09:03:22 -08:00
Jonathan Yap d67f04da83 STORM-830 Per Aleric's and Q's suggestion set initial value of mInternalGain to -1 2011-01-10 17:24:34 -05:00
Jonathan Yap c53ce73469 STORM-830 Volume slider isn't properly remembered if set to zero
There is an edge case in setMasterGain during startup which prevents setInternalGain from being called if the master volume setting and mInternalGain both equal 0.
In llaudioengine.cpp setting mInternalGain to a very low but non-zero value fixes this issue.
2011-01-06 16:53:31 -05:00
Andrew Productengine 44a6e5da2c STORM-521 FIXED Made defensive fix for crash in LLAudioSource::hasPendingPreloads().
Couldn't reproduce the crash, but made defensive fix. Added check for NULL into for loop that iterates through mPreloadMap in LLAudioSource::hasPendingPreloads(). Such check is already present in similar situation in LLAudioEngine::startNextTransfer().
2010-11-22 17:26:39 +02:00
Andrew Productengine 158bfc563b STORM-95 FIXED Fixed hanging of client when incorrect WAV file was passed.
As Aimee has found: "The data chunk of nexfire.wav has an incorrect length specified in its header which we blindly trust when reading
the file in check_for_invalid_wav_formats() in llvorbisencode.cpp. It causes an overflow of the file position pointer when reading the file which makes
it start over from the beginning, hanging it in an infinite loop."

- To avoid this situation in future, check for chunk size was added, and if it is declared bigger then it may be, function is interrupted and returns error.
2010-10-25 18:56:04 +03:00
Merov Linden ec0f2b831e STORM-406: Fix for fmod inclusion in llaudio cmake 2010-10-18 15:33:08 -07:00
Vadim Savchuk 5b2d4a1698 STORM-163 FIXED Intermittent FPS drop related to "audio" (main thread hangs often on openal lock)
Submitting a patch made by Aleric Inglewood (See VWR-14914).

This bug happens for a lot of people, although it might be needed to have a fast multi core machine.
I have seen it on 1.22.10 once, never used 1.23 sorry, and saw it often on snowglobe. I am sure
it also affects 1.23 but I'd have to test that.

The symptons are that on a viewer with normally a good, high FPS, sometimes it happens
that the FPS dramatically drops (as low as 0.3, but it can also be anything higher, as high
as 10, say).

This particular jira is about a problem where the main thread is slowed down by a mutex lock
in libopenal (most calls starting with 'al' in indra/llaudio/audioengine_openal.cpp and
one in indra/llaudio/listener_openal.cpp). You can see that this is the case by opening the
Frame Console (control-shift-2) and checking that the "audio" (and possibly misc) timings
are very large compared to the Render time.
2010-09-21 19:11:40 +03:00
Tofu Linden f7d51863f9 slightly lame robustification for:
CID-507

Checker: REVERSE_INULL
Function: LLVorbisDecodeState::initDecode()
File: /indra/llaudio/llaudiodecodemgr.cpp
2010-09-09 12:38:03 +01:00
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Tofu Linden 90a73085fd EXT-8597 FIXED [crashhunters] LLVorbisDecodeState::initDecode()
not for certain fixed, but some robustification.
2010-08-09 16:14:12 +01:00
Tofu Linden 1417bd3985 CID-498
Checker: UNINIT_CTOR
Function: LLWindGen<short>::LLWindGen(unsigned int)
File: /indra/llaudio/llwindgen.h
2010-07-02 11:09:33 +01:00
Tofu Linden f5ae54f8c3 DEV-11516 FIXED VWR-5308: Current wind noise generation is CPU intensive.
Minor optimizations to wind generation.  Patch by gigs and aimee, reviewed by merov.
2010-06-08 20:48:57 +01:00
Richard Nelson 42c2e62014 merge 2010-04-27 09:42:49 -07:00
Richard Nelson bd08f19894 EXT-6921 - Windows Xp/Vista unified volume control 2010-04-27 09:41:33 -07:00
Aimee Linden c99904585b EXT-7005 : Kill unhelpful 'Deprecated conversion from string to char *' warnings from fmod_errors.h when building with GCC >=4.2 on Darwin
Apply -Wno-write-strings compile flag to llaudioengine_fmod.cpp and llstreamingaudio_fmod.cpp on Darwin as it was on Linux (Amen).
Removed unnecessary check for GCC >= 4.2 when applying this flag, as CXX_VERSION_NUMBER it used is only being generated in 00-Common.cmake on Linux at the moment and 4.0 understands -Wno-write-strings anyway.
2010-04-24 14:50:33 +01:00
Tofu Linden be3ad42620 'Taking over unused buffer' spam from audio engine downgraded from llinfos to lldebugs. 2010-03-09 15:19:56 +00:00
Rick Pasetto ffd962f3a3 EXT-5267 EXT-5268: Add Parcel Media and Parcel Audio items to nearby media panel
Review #109

This (fairly major) change adds new "items" to the media list for
Parcel Media and Parcel Audio. Since these items are special (before
the items were always MoaP impls), they had to be treated
special. Moreover, actions on all of "media" had to be centralized so
that they would have similar behavior.
2010-02-12 13:38:17 -08:00
Tofu Linden 78553cce48 CID-283
Checker: UNINIT_CTOR
Function: LLVorbisDecodeState::LLVorbisDecodeState(const LLUUID &, const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
File: /indra/llaudio/llaudiodecodemgr.cpp
2010-02-03 19:24:25 +00:00
Tofu Linden 5836902ba0 DEV-44775 pref incorrectly named 'AudioSteamingMedia' in many places 2010-01-05 13:37:37 -08:00
Lynx Linden 6223485bfa Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/ 2009-11-30 18:44:12 +00:00