Browse Source

Name rtaudio-jack ports the same as carla does internally

tags/1.9.6
falkTX 9 years ago
parent
commit
c4d2fd09e2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      source/modules/rtaudio/RtAudio.cpp

+ 2
- 2
source/modules/rtaudio/RtAudio.cpp View File

@@ -2281,14 +2281,14 @@ bool RtApiJack :: probeDeviceOpen( unsigned int device, StreamMode mode, unsigne
char label[64];
if ( mode == OUTPUT ) {
for ( unsigned int i=0; i<stream_.nUserChannels[0]; i++ ) {
snprintf( label, 64, "outport %d", i );
snprintf( label, 64, "audio-out%d", i+1 );
handle->ports[0][i] = jackbridge_port_register( handle->client, (const char *)label,
JACK_DEFAULT_AUDIO_TYPE, JackPortIsOutput, 0 );
}
}
else {
for ( unsigned int i=0; i<stream_.nUserChannels[1]; i++ ) {
snprintf( label, 64, "inport %d", i );
snprintf( label, 64, "audio-in%d", i+1 );
handle->ports[1][i] = jackbridge_port_register( handle->client, (const char *)label,
JACK_DEFAULT_AUDIO_TYPE, JackPortIsInput, 0 );
}


Loading…
Cancel
Save