Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
[AudioTapProcessor] fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustam Zaitov committed May 20, 2015
1 parent ea8a65a commit 6c9fff3
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -322,6 +322,14 @@ AudioTapProcessor CreateTapProcessor ()
return processor;
}

protected override void Dispose (bool disposing)
{
playerTimeObserver.Dispose ();
playerItemDidPlayToEndTimeObserver.Dispose ();

base.Dispose (disposing);
}

static AVAssetTrack FetchFirstAudioTrack (AVPlayer player)
{
AVAssetTrack[] tracks = player.CurrentItem.Asset.Tracks;
Expand Down

0 comments on commit 6c9fff3

Please sign in to comment.