Browse Source

Correct jack_thread_wait

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1815 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.70
sletz 17 years ago
parent
commit
f259824b93
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      common/JackAPI.cpp
  2. +1
    -1
      linux/firewire/JackFFADODriver.cpp

+ 1
- 1
common/JackAPI.cpp View File

@@ -639,7 +639,7 @@ EXPORT jack_nframes_t jack_thread_wait(jack_client_t* ext_client, int status)
JackClient* client = (JackClient*)ext_client;
if (client == NULL) {
jack_error("jack_thread_wait called with a NULL client");
return -1;
return 0;
} else {
return client->Wait(status);
}


+ 1
- 1
linux/firewire/JackFFADODriver.cpp View File

@@ -272,7 +272,7 @@ JackFFADODriver::SetBufferSize (jack_nframes_t nframes)
printError("Buffer size change requested but not supported!!!");

/*
driver->period_size = nframes;
driver->period_size = nframes;
driver->period_usecs =
(jack_time_t) floor ((((float) nframes) / driver->sample_rate)
* 1000000.0f);


Loading…
Cancel
Save