mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
OSS: Fix a bug with playback buffer priming.
This commit is contained in:
+1
-1
@@ -39687,7 +39687,7 @@ static void ma_device_prime_playback_buffer__oss(ma_device* pDevice)
|
||||
break;
|
||||
}
|
||||
|
||||
write(pDeviceStateOSS->fdPlayback, buffer, framesToWriteThisIteration);
|
||||
write(pDeviceStateOSS->fdPlayback, buffer, framesToWriteThisIteration * bpf);
|
||||
framesWritten += framesToWriteThisIteration;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user