mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 09:14:04 +02:00
PulseAudio: Try fixing an issue with delayed playback.
This commit is contained in:
+2
-1
@@ -14910,7 +14910,7 @@ ma_pa_buffer_attr ma_device__pa_buffer_attr_new(ma_uint32 bufferSizeInFrames, ma
|
|||||||
attr.maxlength = bufferSizeInFrames * ma_get_bytes_per_sample(ma_format_from_pulse(ss->format)) * ss->channels;
|
attr.maxlength = bufferSizeInFrames * ma_get_bytes_per_sample(ma_format_from_pulse(ss->format)) * ss->channels;
|
||||||
attr.tlength = attr.maxlength / periods;
|
attr.tlength = attr.maxlength / periods;
|
||||||
attr.prebuf = (ma_uint32)-1;
|
attr.prebuf = (ma_uint32)-1;
|
||||||
attr.minreq = attr.maxlength / periods;
|
attr.minreq = (ma_uint32)-1;
|
||||||
attr.fragsize = attr.maxlength / periods;
|
attr.fragsize = attr.maxlength / periods;
|
||||||
|
|
||||||
return attr;
|
return attr;
|
||||||
@@ -33031,6 +33031,7 @@ REVISION HISTORY
|
|||||||
v0.9.6 - 2019-xx-xx
|
v0.9.6 - 2019-xx-xx
|
||||||
- Don't trigger an assert when ma_device_start() is called on a device that is already started. This will now log a warning
|
- Don't trigger an assert when ma_device_start() is called on a device that is already started. This will now log a warning
|
||||||
and return MA_INVALID_OPERATION. The same applies for ma_device_stop().
|
and return MA_INVALID_OPERATION. The same applies for ma_device_stop().
|
||||||
|
- Try fixing an issue with PulseAudio taking a long time to start playback.
|
||||||
|
|
||||||
v0.9.5 - 2019-05-21
|
v0.9.5 - 2019-05-21
|
||||||
- Add logging to ma_dlopen() and ma_dlsym().
|
- Add logging to ma_dlopen() and ma_dlsym().
|
||||||
|
|||||||
Reference in New Issue
Block a user