Skip to content

Commit

Permalink
Use while instead
Browse files Browse the repository at this point in the history
  • Loading branch information
hwsmm committed Jan 2, 2024
1 parent 5e73ed8 commit e030098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Framework/Audio/Sample/SampleSDL2AudioPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected override int GetRemainingRawFloats(float[] data, int offset, int neede

int i = 0;

for (; i < needed;)
while (i < needed)
{
int put = Math.Min(needed - i, audioData.Length - position);

Expand Down

0 comments on commit e030098

Please sign in to comment.