Skip to content

Commit

Permalink
Update CDVSound.m (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
pinguluk authored Jun 6, 2024
1 parent 9f54ac4 commit 7330fff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ios/CDVSound.m
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ - (void)startPlayingAudio:(CDVInvokedUrlCommand*)command
CMTime time = avPlayer.currentItem.asset.duration;
duration = CMTimeGetSeconds(time);
if (isnan(duration)) {
NSLog(@"Duration is infifnite, setting it to -1");
NSLog(@"Duration is infinite, setting it to -1");
duration = -1;
}

Expand Down

0 comments on commit 7330fff

Please sign in to comment.