Browse Source

Correct JackCoreAudioAdapter::Close.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2905 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/1.90
sletz 15 years ago
parent
commit
34bb208d1e
3 changed files with 6 additions and 5 deletions
  1. +2
    -2
      common/JackInternalClient.cpp
  2. +3
    -3
      common/JackServer.cpp
  3. +1
    -0
      macosx/coreaudio/JackCoreAudioAdapter.cpp

+ 2
- 2
common/JackInternalClient.cpp View File

@@ -201,7 +201,7 @@ int JackLoadableInternalClient::Init(const char* so_name)
int JackLoadableInternalClient1::Init(const char* so_name)
{
if (JackLoadableInternalClient::Init(so_name) < 0) {
return -1;
return -1;
}
fInitialize = (InitializeCallback)GetJackProc(fHandle, "jack_initialize");
@@ -217,7 +217,7 @@ int JackLoadableInternalClient1::Init(const char* so_name)
int JackLoadableInternalClient2::Init(const char* so_name)
{
if (JackLoadableInternalClient::Init(so_name) < 0) {
return -1;
return -1;
}
fInitialize = (InternalInitializeCallback)GetJackProc(fHandle, "jack_internal_initialize");


+ 3
- 3
common/JackServer.cpp View File

@@ -160,7 +160,7 @@ int JackServer::InternalClientLoad(const char* client_name, const char* so_name,
int my_status1 = *status | JackFailure;
*status = (jack_status_t)my_status1;
*int_ref = 0;
return -1;
return -1;
}

return InternalClientLoadAux(client, client_name, options, int_ref, status);
@@ -172,10 +172,10 @@ int JackServer::InternalClientLoad(const char* client_name, const char* so_name,
assert(client);
if (client->Init(so_name) < 0) {
int my_status1 = *status | JackFailure;
int my_status1 = *status | JackFailure;
*status = (jack_status_t)my_status1;
*int_ref = 0;
return -1;
return -1;
}

return InternalClientLoadAux(client, client_name, options, int_ref, status);


+ 1
- 0
macosx/coreaudio/JackCoreAudioAdapter.cpp View File

@@ -925,6 +925,7 @@ int JackCoreAudioAdapter::Close()
AudioOutputUnitStop(fAUHAL);
DisposeBuffers();
CloseAUHAL();
RemoveListeners();
return 0;
}



Loading…
Cancel
Save