2021-12-29 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in caed(8) that could cause segfaults when attempting
	to capture audio via JACK.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-12-29 09:30:42 -05:00
parent 1bf266a6cf
commit 105b97f481
2 changed files with 8 additions and 0 deletions

View File

@@ -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<RD_MAX_CARDS;i++) {
for(int j=0;j<RD_MAX_STREAMS;j++) {
twolame_lameopts[i][j]=NULL;
}
}
}