Delegate stream shutdown to LLAudioEngine and LLStreamingAudio_*

This commit is contained in:
Shyotl
2014-11-25 16:37:39 -06:00
parent b3d86e626b
commit 87f87bf2ff
8 changed files with 67 additions and 48 deletions

View File

@@ -4479,12 +4479,6 @@ void LLAppViewer::shutdownAudio()
{
if (gAudiop)
{
// shut down the streaming audio sub-subsystem first, in case it relies on not outliving the general audio subsystem.
LLStreamingAudioInterface *sai = gAudiop->getStreamingAudioImpl();
delete sai;
gAudiop->setStreamingAudioImpl(NULL);
// shut down the audio subsystem
bool want_longname = false;