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 (!drwav_init_file_write(&p->wav, recording_file_path, &format, NULL)) {
However, in the callback, you simply use the WAV writer as soon as p->capturing is true. Meaning that you might be using an uninitialized WAV (Note that this exact thing happened in the last stream, though the code looked a little different, when you tried to use a debugger).
In
start_capture
, you initialize capturing. You do this by settingp->capturing = true
, and then initializing the WAV writer.musializer/src/plug.c
Lines 1260 to 1270 in 9ddb4d2
However, in the callback, you simply use the WAV writer as soon as
p->capturing
is true. Meaning that you might be using an uninitialized WAV (Note that this exact thing happened in the last stream, though the code looked a little different, when you tried to use a debugger).musializer/src/plug.c
Lines 487 to 491 in 9ddb4d2
The text was updated successfully, but these errors were encountered: