prepare for eventual release
This commit is contained in:
parent
ee67c09c09
commit
ea19f133d6
4 changed files with 22 additions and 12 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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) {}
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue