예제 #1
0
 void OnDecodeError(object sender, AVErrorEventArgs args)
 {
     lock (sSync)
     {
         sAsyncEventDispatcher.Add(() => { dispatchEvent(new IOErrorEvent(IOErrorEvent.IO_ERROR)); });
     }
 }
예제 #2
0
 private void OnAudioPlayerDecoderError(object sender, AVErrorEventArgs e)
 {
     musicMediaEvents.Enqueue(new SoundMusicEventNotification(SoundMusicEvent.ErrorOccurred, e));
 }
예제 #3
0
 private void OnAudioPlayerDecoderError(object sender, AVErrorEventArgs e)
 {
     musicMediaEvents.Enqueue(new SoundMusicEventNotification(SoundMusicEvent.ErrorOccurred, e));
 }
예제 #4
0
 void Player_DecoderError(object sender, AVErrorEventArgs e)
 {
     Ended.TrySetException(new Exception("Failed to play audio > " + e.Error.Description));
 }