13
0
livetrax/libs/ardouralsautil
Robin Gareus 0fe3cba8b1
Fix ALSA available buffersize detection:
buffer-size = periods * period-size

Previously, buffersize was used for period-size.

This fixes an issue with a dedicated .asoundrc configuring a specific
period-size or buffer-size that has to be exact.
Ardour's device configuration failed in this case.

This has not been an issues since most hardware devices offer a wide
range: 8 < period-size < 262144 ; 16 < buffer-size < 524288.
Only a subset of which (32 .8192) is allowed by Ardour.
2019-07-24 16:40:32 +02:00
..
ardouralsautil
devicelist.cc
deviceparams.cc Fix ALSA available buffersize detection: 2019-07-24 16:40:32 +02:00
request_device.c
reserve.c
wscript