Skip to content

Commit

Permalink
Remove the set of Loop in the ctor for AudioPlayer (#82)
Browse files Browse the repository at this point in the history
Co-authored-by: Shaun Lawrence <[email protected]>
  • Loading branch information
bijington and bijington authored Nov 29, 2023
1 parent 4801a27 commit f72d4b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugin.Maui.Audio/AudioPlayer/AudioPlayer.android.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ internal AudioPlayer(Stream audioStream)

internal AudioPlayer(string fileName)
{
player = new MediaPlayer() { Looping = Loop };
player = new MediaPlayer();
player.Completion += OnPlaybackEnded;

AssetFileDescriptor afd = Android.App.Application.Context.Assets?.OpenFd(fileName)
Expand Down

0 comments on commit f72d4b4

Please sign in to comment.