// Token: 0x06005657 RID: 22103 RVA: 0x0017E6F4 File Offset: 0x0017C8F4
        private object OnLoadStreamCompleted(object asyncResultArg)
        {
            IAsyncResult asyncResult = (IAsyncResult)asyncResultArg;

            SoundPlayerAction.LoadStreamCaller loadStreamCaller = (SoundPlayerAction.LoadStreamCaller)asyncResult.AsyncState;
            Stream stream = loadStreamCaller.EndInvoke(asyncResult);

            if (this.m_uriChangedWhileLoadingStream)
            {
                this.m_uriChangedWhileLoadingStream = false;
                if (stream != null)
                {
                    stream.Dispose();
                }
                this.BeginLoadStream();
            }
            else if (stream != null)
            {
                if (this.m_player == null)
                {
                    this.m_player = new SoundPlayer(stream);
                }
                else
                {
                    this.m_player.Stream = stream;
                }
                this.m_player.LoadCompleted += this.OnSoundPlayerLoadCompleted;
                this.m_player.LoadAsync();
            }
            return(null);
        }
 // Token: 0x06005654 RID: 22100 RVA: 0x0017E674 File Offset: 0x0017C874
 private void BeginLoadStream()
 {
     if (this.m_lastRequestedAbsoluteUri != null)
     {
         this.m_streamLoadInProgress = true;
         SoundPlayerAction.LoadStreamCaller loadStreamCaller = new SoundPlayerAction.LoadStreamCaller(this.LoadStreamAsync);
         IAsyncResult asyncResult = loadStreamCaller.BeginInvoke(this.m_lastRequestedAbsoluteUri, new AsyncCallback(this.LoadStreamCallback), loadStreamCaller);
     }
 }