Browse Source

No reason to make jack_on_shutdown deprecated, so revert the incorrect change.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3692 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/v1.9.4
sletz 15 years ago
parent
commit
eb20a1ae47
4 changed files with 6 additions and 3 deletions
  1. +4
    -0
      ChangeLog
  2. +0
    -1
      common/JackAPI.cpp
  3. +1
    -1
      common/jack/jack.h
  4. +1
    -1
      common/jack/types.h

+ 4
- 0
ChangeLog View File

@@ -25,6 +25,10 @@ Paul Davis
Jackdmp changes log
---------------------------

2009-11-05 Stephane Letz <letz@grame.fr>
* No reason to make jack_on_shutdown deprecated, so revert the incorrect change.

2009-10-30 Stephane Letz <letz@grame.fr>
* In JackCoreAudioDriver, improve management of input/output channels: -1 is now used internally to indicate a wanted max value.


+ 0
- 1
common/JackAPI.cpp View File

@@ -814,7 +814,6 @@ EXPORT void jack_on_shutdown(jack_client_t* ext_client, JackShutdownCallback cal
JackLibGlobals::CheckContext();
#endif
JackClient* client = (JackClient*)ext_client;
jack_error("jack_on_shutdown: deprecated, use jack_on_info_shutdown");
if (client == NULL) {
jack_error("jack_on_shutdown called with a NULL client");
} else {


+ 1
- 1
common/jack/jack.h View File

@@ -282,7 +282,7 @@ int jack_set_thread_init_callback (jack_client_t *client,
* @param function The jack_shutdown function pointer.
* @param arg The arguments for the jack_shutdown function.
*
* @deprecated Register a function (and argument) to be called if and when the
* Register a function (and argument) to be called if and when the
* JACK server shuts down the client thread. The function must
* be written as if it were an asynchonrous POSIX signal
* handler --- use only async-safe functions, and remember that it


+ 1
- 1
common/jack/types.h View File

@@ -214,7 +214,7 @@ typedef int (*JackPortRenameCallback)(jack_port_id_t port, const char* new_name,
typedef void (*JackFreewheelCallback)(int starting, void *arg);

/**
* @deprecated Prototype for the client supplied function that is called
* Prototype for the client supplied function that is called
* whenever jackd is shutdown. Note that after server shutdown,
* the client pointer is *not* deallocated by libjack,
* the application is responsible to properly use jack_client_close()


Loading…
Cancel
Save