Browse Source

Cleanup

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1537 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.65
sletz 18 years ago
parent
commit
ec48225e7c
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      common/JackAudioDriver.cpp

+ 4
- 4
common/JackAudioDriver.cpp View File

@@ -90,8 +90,8 @@ int JackAudioDriver::Attach()
jack_error("driver: cannot register port for %s", buf);
return -1;
}
port = fGraphManager->GetPort(port_index);
port->Rename("system:capture_%d", i + 1);
port = fGraphManager->GetPort(port_index);
port->Rename("system:capture_%d", i + 1);
port->SetLatency(fEngineControl->fBufferSize + fCaptureLatency);
fCapturePortList[i] = port_index;
JackLog("JackAudioDriver::Attach fCapturePortList[i] %ld = \n", port_index);
@@ -105,8 +105,8 @@ int JackAudioDriver::Attach()
jack_error("driver: cannot register port for %s", buf);
return -1;
}
port = fGraphManager->GetPort(port_index);
port->Rename("system:playback_%d", i + 1);
port = fGraphManager->GetPort(port_index);
port->Rename("system:playback_%d", i + 1);
port->SetLatency(fEngineControl->fBufferSize + fPlaybackLatency);
fPlaybackPortList[i] = port_index;
JackLog("JackAudioDriver::Attach fPlaybackPortList[i] %ld = \n", port_index);


Loading…
Cancel
Save