Open lane-s opened 1 month ago
IIRC ALSA was a problem because it required sharing memory with kernel drivers in a way that doesn't work with rr. If you can find some documentation for exactly what the kernel/user interface for ALSA looks like we could think about supporting it, but we deny opening alsa.conf
for a reason (in 2013!).
I'd like to debug an application under
rr
which uses an ALSA backend. It seems that many of the system calls related to audio (ioctls prefixed withSNDRV_...
) are not yet supported.I tried to add the calls used by my application, following the procedure of adding them to
record_syscall.cc
and the related parameter types tokernel_abi.h
, but I assume that I did something wrong, becauserr
hangs when I try to initialize an audio device in the application. The callstack during the hang after atttaching gdb:It doesn't seem to be immediately related to the code I changed, but I'll admit I have very little knowledge of most of this stuff- I'm mostly an application developer.
Is ALSA support planned? What would need to be done?