Changeset 3904
- Timestamp:
- 02/10/10 09:15:06 (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
jack2/trunk/jackmp/linux/firewire/JackFFADODriver.cpp
r3903 r3904 448 448 port = fGraphManager->GetPort(port_index); 449 449 port->SetLatency(driver->period_size + driver->capture_frame_latency); 450 // capture port aliases (jackd1 style port names) 451 snprintf(buf, sizeof(buf) - 1, "%s:capture_%i", fClientControl.fName, (int) chn + 1); 452 port->SetAlias(buf); 450 453 fCapturePortList[chn] = port_index; 451 454 jack_log("JackFFADODriver::Attach fCapturePortList[i] %ld ", port_index); … … 521 524 // Add one buffer more latency if "async" mode is used... 522 525 port->SetLatency((driver->period_size * (driver->device_options.nb_buffers - 1)) + ((fEngineControl->fSyncMode) ? 0 : fEngineControl->fBufferSize) + driver->playback_frame_latency); 526 // playback port aliases (jackd1 style port names) 527 snprintf(buf, sizeof(buf) - 1, "%s:playback_%i", fClientControl.fName, (int) chn + 1); 528 port->SetAlias(buf); 523 529 fPlaybackPortList[chn] = port_index; 524 530 jack_log("JackFFADODriver::Attach fPlaybackPortList[i] %ld ", port_index);
