Skip to content

Commit

Permalink
I think I really fixed the Linux sound player.
Browse files Browse the repository at this point in the history
  • Loading branch information
captainys committed Oct 13, 2023
1 parent 62e8079 commit 1b8e7b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ double YsSoundPlayer::APISpecificData::GetCurrentPosition(const SoundData &dat)
{
for(auto &p : playing)
{
if(nullptr!=p.dat)
if(&dat==p.dat)
{
return (double)p.ptr/(double)dat.PlayBackRate();
}
Expand Down

0 comments on commit 1b8e7b7

Please sign in to comment.