Skip to content

Instantly share code, notes, and snippets.

@CartBlanche
Created October 26, 2011 20:23
Show Gist options
  • Save CartBlanche/1317702 to your computer and use it in GitHub Desktop.
Save CartBlanche/1317702 to your computer and use it in GitHub Desktop.
Android.Media.MediaPlayer();
internal void Prepare()
{
Player = new Android.Media.MediaPlayer();
var fd = Game.contextInstance.Assets.OpenFd(_fileName).FileDescriptor;
Player.SetDataSource(fd);
Player.Prepare();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment