mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 01:04:02 +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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
write(pDeviceStateOSS->fdPlayback, buffer, framesToWriteThisIteration);
|
write(pDeviceStateOSS->fdPlayback, buffer, framesToWriteThisIteration * bpf);
|
||||||
framesWritten += framesToWriteThisIteration;
|
framesWritten += framesToWriteThisIteration;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user