Delegate stream shutdown to LLAudioEngine and LLStreamingAudio_*
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user