- Thread Starter
- #21
I would very well trust you on that. However the logs seem to say otherwise. Maybe I'm misinterpretingThe rate adjust must be handled somehow if the two soundcards are not synchronous. Either the device can have its rate adjusted, or async resampler must be deployed.
AFAIK CDSP can control rate of usb gadget and alsa loopback on linux and Blackhole on OSX, no direct rate control on Wasapi https://github.com/HEnquist/camilladsp/blob/master/src/wasapidevice.rs. IMO the rate adjust must be enabled and async resampler configured in your chain to work properly. Other issues may arise (as always), but this is the basic requirement.
Code:
2024-10-14 10:22:55.447955 WARN [src/alsadevice.rs:138] PB: Prepare playback after buffer underrun
2024-10-14 10:25:26.702532 WARN [src/alsadevice.rs:138] PB: Prepare playback after buffer underrun
2024-10-14 10:26:36.037895 WARN [src/alsadevice.rs:138] PB: Prepare playback after buffer underrun
2024-10-14 10:27:56.631091 WARN [src/alsadevice.rs:138] PB: Prepare playback after buffer underrun
2024-10-14 10:28:39.993942 INFO [src/alsadevice.rs:648] Capture device supports rate adjust
2024-10-14 10:28:39.993998 WARN [src/alsadevice.rs:650] Needless 1:1 sample rate conversion active. Not needed since capture device supports rate adjust
2024-10-14 10:28:40.041889 INFO [src/alsadevice.rs:142] PB: Starting playback from Prepared state