Skip to content

Commit f72d4b4

Browse files
authored
Remove the set of Loop in the ctor for AudioPlayer (#82)
Co-authored-by: Shaun Lawrence <[email protected]>
1 parent 4801a27 commit f72d4b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Plugin.Maui.Audio/AudioPlayer/AudioPlayer.android.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ internal AudioPlayer(Stream audioStream)
9595

9696
internal AudioPlayer(string fileName)
9797
{
98-
player = new MediaPlayer() { Looping = Loop };
98+
player = new MediaPlayer();
9999
player.Completion += OnPlaybackEnded;
100100

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

0 commit comments

Comments
 (0)