Browse Source

Add port register/unregister notification in JackAlsaDriver(2).

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1870 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.71
sletz 17 years ago
parent
commit
20cf298065
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      linux/alsa/JackAlsaDriver.cpp

+ 1
- 1
linux/alsa/JackAlsaDriver.cpp View File

@@ -2359,7 +2359,7 @@ int JackAlsaDriver::create_thread(pthread_t *thread, int priority, int realtime,
int JackAlsaDriver::port_register(const char *port_name, const char *port_type, unsigned long flags, unsigned long buf_size)
{
int port_index = fGraphManager->AllocatePort(fClientControl->fRefNum, port_name, port_type, (JackPortFlags) flags, fEngineControl->fBufferSize);
if (port != NO_PORT)
if (port_index != NO_PORT)
fEngine->NotifyPortRegistation(port_index, true);
return port;
}


Loading…
Cancel
Save