scheduling,xruns

git-svn-id: svn://code.dyne.org/veejay/trunk@770 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
Niels Elburg
2007-02-08 19:43:51 +00:00
parent 33d3e4510a
commit d6743bdd5f
4 changed files with 44 additions and 4 deletions

View File

@@ -164,8 +164,11 @@ static int first_free_device = 0;
static jack_driver_t outDev[MAX_OUTDEVICES];
/* default audio buffer size */
#define SECONDS .25
static long MAX_BUFFERED_BYTES = (16 * 2 * (44100/(1/SECONDS))) / 8; /* 16 bits, 2 channels .25 seconds */
//#define SECONDS .25
#define SECONDS .5
//static long MAX_BUFFERED_BYTES = (16 * 2 * (44100/(1/SECONDS))) / 8; /* 16 bits, 2 channels .25 seconds */
static long MAX_BUFFERED_BYTES = (16 * 2 * (44100/(1/SECONDS))) / 4; /* 16 bits, 2 channels .25 seconds */
#if JACK_CLOSE_HACK
static void JACK_CloseDevice(jack_driver_t* this, bool close_client);