Browse Source

Typo.

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

+ 1
- 1
common/JackServer.cpp View File

@@ -322,7 +322,7 @@ int JackServer::SwitchMaster(jack_driver_desc_t* driver_desc, JSList* driver_par
JackDriverInfo* info = new JackDriverInfo();
JackDriverClientInterface* master = info->Open(driver_desc, fEngine, GetSynchroTable(), driver_params);

if (master == NULL || info == NULL) {
if (master == NULL) {
delete info;
return -1;
} else {


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

@@ -526,7 +526,7 @@ int JackFFADODriver::Attach()

port = fGraphManager->GetPort(port_index);
// Add one buffer more latency if "async" mode is used...
range.min = range.max = (driver->period_size * (driver->device_options.nb_buffers - 1)) + ((fEngineControl->fSyncMode) ? 0 : fEngineControl->fBufferSize) + driver->playback_frame_latency
range.min = range.max = (driver->period_size * (driver->device_options.nb_buffers - 1)) + ((fEngineControl->fSyncMode) ? 0 : fEngineControl->fBufferSize) + driver->playback_frame_latency;
port->SetLatencyRange(JackPlaybackLatency, &range);
// playback port aliases (jackd1 style port names)
snprintf(buf, sizeof(buf) - 1, "%s:playback_%i", fClientControl.fName, (int) chn + 1);


Loading…
Cancel
Save