summaryrefslogtreecommitdiff
path: root/indra/llaudio/llaudioengine.cpp
AgeCommit message (Collapse)Author
2024-07-27Fix running multiple viewer instances stealing sound from first instance (#2127)Ansariel Hiller
2024-04-29#824 Process source files in bulk: replace tabs with spaces, convert CRLF to ↵Andrey Lihatskiy
LF, and trim trailing whitespaces as needed
2023-12-15SL-20696 FIXED llLoopSoundSlave producing no sound since viewer updateMnikolenko Productengine
2023-04-11Merge branch 'contribute' into DRTVWR-582-maint-UAndrey Lihatskiy
# Conflicts: # indra/llaudio/llaudioengine.cpp
2023-04-04SL-19042: Replace FMOD with VLC for parcel audioAlexander Gavriliuk
2023-01-10SL-18893 Fixes for pull requests #38, #41, and #42 (#46)Fawrsk
Eliminate unnecessary copies, and remove uses of auto
2023-01-05SL-18893 Clean up for loops in llaudio to use C++11 range based for loops (#41)Fawrsk
2022-09-15Merge branch 'master' into DRTVWR-548-maint-NAndrey Lihatskiy
# Conflicts: # indra/newview/llmodelpreview.h
2022-06-14SL-16182: Offload audio decoding from the main thread to the general work queue.Cosmic Linden
The work queue callback binds "this". This is deemed safe due to current dependencies, but see the associated comment in the return callback. There was some trial and error to get a this-binded lambda to compile. Due to LLVorbisDecodeState writing to disk off-thread, limit audio decodes proportional to general worker thread count. Guess the thread count for now.
2022-05-20SL-17425 Crash when closing two dependent floatersAndrey Kleshchev
dependent_it in llfloater was not valid after dependent floater removed itself from the list
2022-04-18Merge branch 'master' into DRTVWR-544-maintAndrey Lihatskiy
# Conflicts: # indra/newview/app_settings/settings.xml # indra/newview/llfloatersearch.cpp # indra/newview/llgroupactions.cpp # indra/newview/llvovolume.cpp
2022-03-21SL-16865 llStopSound() does not stop sound if it is out of cutoff radiusAndrey Kleshchev
2021-12-20Merge branch 'master' into DRTVWR-544-maintMnikolenko Productengine
2021-11-26SL-16339 Rename setAmbient to not cause confusionAndrey Kleshchev
setAmbient has nothing to do with ambient sounds
2021-03-09This set of changes reverts the merge with master (git revert c83e740) and ↵Callum Prentice
results in a version of the DRTVWR-519 that matches what was presemt before it was deployed as a release viewer *plus* 3 small fixes from Maxim (See commits). This branch can now be used for additional fixes before eventually being used to release D-519 as normal
2021-03-08Revert "Merge branch 'master' of https://bitbucket.org/lindenlab/viewer into ↵Brad Payne (Vir Linden)
DRTVWR-519" This reverts commit e61f485a04dc8c8ac6bcf6a24848359092884d14, reversing changes made to 00c47d079f7e958e473ed4083a7f7691fa02dcd5.
2020-09-24Complete the change from lldiskcache -> llfilesystem and then addition of ↵Callum Prentice
new lldiskcache implementation
2020-09-16Renamed the references to LLVFile and llvfile.* source code plus cmake ↵Callum Prentice
scripts to use a different name - lldiskcache - since that more closely resembles what it is (or will be) now that the VFA is no more
2020-09-16First part of change to remove LLVFS from the Viewer. Consists of code ↵Callum Prentice
changes to remove LLVFS and LLVFSThread classes along with the associated source files. The existing llvfs folder is renamed to llcache. Also includes changes to CMake script in many places to reflect changes. Eventually, llvfile source file and class will be renamed but that is not in this change.
2020-04-10SL-11445 Provide 'name' for Pulse AudioAndrey Kleshchev
2015-11-10remove execute permission from many files that should not have itOz Linden
2014-05-07Pull and merge viewer-release as version 3.7.8simon
2014-03-14MAINT-3804 FIXED Crash in LLAudioEngine::getAudioData when playing gestures ↵maksymsproductengine
with audio device disabled.
2014-03-12merge with releaseRichard Linden
2014-02-12merge with releaseRichard Linden
2013-12-19clean up audio engine loggingOz Linden
2013-08-09second phase summer cleaningRichard Linden
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-07-30Summer cleaning - removed a lot of llcommon dependencies to speed up build timesRichard Linden
consolidated most indra-specific constants in llcommon under indra_constants.h fixed issues with operations on mixed unit types (implicit and explicit) made LL_INFOS() style macros variadic in order to subsume other logging methods such as ll_infos added optional tag output to error recorders
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2013-01-28CHUI-667: Post code review changesGilbert Gonzales
2012-11-08Trivial commit to force TeamCity to generate a new codeticket numberNat Goodspeed
2012-05-16MAINT-862 and ER-1781 : Sounds not playing the first time. Reviewed by Kelly.simon@Simon-PC.lindenlab.com
2011-12-06fix for SH-2526: Second Life client quickly allocates all available RAM and ↵Xiaohong Bao
crashes
2011-01-10STORM-830 Per Aleric's and Q's suggestion set initial value of mInternalGain ↵Jonathan Yap
to -1
2011-01-06STORM-830 Volume slider isn't properly remembered if set to zeroJonathan Yap
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.
2010-11-22STORM-521 FIXED Made defensive fix for crash in ↵Andrew Productengine
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-09-21STORM-163 FIXED Intermittent FPS drop related to "audio" (main thread hangs ↵Vadim Savchuk
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-08-13Change license from GPL to LGPL (version 2.1)Oz Linden
2010-06-08DEV-11516 FIXED VWR-5308: Current wind noise generation is CPU intensive.Tofu Linden
Minor optimizations to wind generation. Patch by gigs and aimee, reviewed by merov.
2010-03-09'Taking over unused buffer' spam from audio engine downgraded from llinfos ↵Tofu Linden
to lldebugs.
2010-02-12EXT-5267 EXT-5268: Add Parcel Media and Parcel Audio items to nearby media panelRick Pasetto
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.
2009-08-27svn merge -r 129841:129910 ↵Monroe Williams
svn+ssh://svn.lindenlab.com/svn/linden/branches/moss/pluginapi_05-merge@129910 svn merge -r 129913:131718 svn+ssh://svn.lindenlab.com/svn/linden/branches/pluginapi/pluginapi_05 Some branch shenannigans in the pluginapi_05 branch caused this to become a two-part merge.