diff --git a/ChangeLog b/ChangeLog index 1a256c6e..49aeddef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22855,3 +22855,6 @@ * Fixed a bug in the 'Edit Audio' dialog that made it impossible to add a Fade Down marker near the end of the audio when the waveform was fully zoomed in. +2021-12-29 Fred Gleason + * Fixed a bug in caed(8) that could cause segfaults when attempting + to capture audio via JACK. diff --git a/cae/driver.cpp b/cae/driver.cpp index f943bd21..a445b5d4 100644 --- a/cae/driver.cpp +++ b/cae/driver.cpp @@ -29,6 +29,11 @@ Driver::Driver(RDStation::AudioDriver type,QObject *parent) d_system_sample_rate=rda->system()->sampleRate(); twolame_handle=NULL; mad_handle=NULL; + for(int i=0;i