You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if conf.devices.target_level() >= 2* conf.devices.chunksize{
let msg = format!(
"target_level can't be larger than {}",
2* conf.devices.chunksize
);
should be raised accordingly, so that any value up to buffer size can be assigned.
My tests on a low-power CPU USB gadget -> resampling -> I2S -> gadget loopback where the capture + resampling thread takes > 70% of CPU core suggest the optimal target_limit value for such a use case would be 3 * chunksize. The above change would allow that value.
Thanks a lot for considering,
Pavel.
The text was updated successfully, but these errors were encountered:
IIUC commit 442ca85 changed standard alsa buffer size from 2 chunks to 4 chunks. IMO the target_level check
camilladsp/src/config.rs
Lines 1662 to 1666 in 76aa55d
My tests on a low-power CPU USB gadget -> resampling -> I2S -> gadget loopback where the capture + resampling thread takes > 70% of CPU core suggest the optimal target_limit value for such a use case would be 3 * chunksize. The above change would allow that value.
Thanks a lot for considering,
Pavel.
The text was updated successfully, but these errors were encountered: