Closed SamuelSwartzberg closed 4 months ago
Thanks! I managed to reproduce this with a Motu M4. The problems happens when trying to read the names of the capture device clock sources. The call to CoreAudio should return a pointer to a string. But for some reason, for some device, it returns a null pointer. This fixes it by adding a check before trying to access the string: https://github.com/HEnquist/camilladsp/pull/319 I'll release a 2.0.2 asap, just need to figure out why building on linux decided to stop working.
Great! Thanks for the quick turnaround :D
fixed in release 2.0.2
Just upgraded and it works! :D Thanks!
Describe the bug
When reading from a certain config (see below),
camilladsp
segfaults immediately due to a null pointer.To Reproduce
camilladsp /path/to/config.yml
System info
Configuration
Logs
lldb output for good measure
Note
While I do write code frequently, audio processing is a new field for me, with which I am not very familiar. This config file was my attempt to migrate my Element config over to try and understand the basics of camilladsp. So I can't exclude I'm just doing something pretty stupid that'd be obvious to anyone in the field.