prepare for eventual release

This commit is contained in:
tildearrow 2021-12-19 13:05:09 -05:00
parent ee67c09c09
commit ea19f133d6
4 changed files with 22 additions and 12 deletions

View file

@ -104,6 +104,7 @@ bool TAAudioJACK::setRun(bool run) {
bool TAAudioJACK::init(TAAudioDesc& request, TAAudioDesc& response) {
if (initialized) return false;
if (jack_client_open==NULL) return false;
desc=request;
desc.outFormat=TA_AUDIO_FORMAT_F32;
@ -153,4 +154,4 @@ bool TAAudioJACK::init(TAAudioDesc& request, TAAudioDesc& response) {
response=desc;
initialized=true;
return true;
}
}

View file

@ -1,4 +1,5 @@
#include "taAudio.h"
#include <jack/weakjack.h>
#include <jack/jack.h>
class TAAudioJACK: public TAAudio {
@ -23,4 +24,4 @@ class TAAudioJACK: public TAAudio {
ac(NULL),
ai(NULL),
ao(NULL) {}
};
};