Browse Source

Improve documentation in jack.h

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2516 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/1.90
sletz 17 years ago
parent
commit
ae648123ae
2 changed files with 35 additions and 2 deletions
  1. +34
    -1
      common/jack/jack.h
  2. +1
    -1
      macosx/JackCoreAudioDriver.h

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

@@ -213,6 +213,9 @@ extern "C"
* http://jackit.sourceforge.net/docs/design/design.html#SECTION00411000000000000000
* for more information.
*
* NOTE: this function cannot be called while the client is activated
* (after jack_activate has been called.)
*
* @return 0 on success, otherwise a non-zero error code.
*/
int jack_set_process_callback (jack_client_t *client,
@@ -255,6 +258,9 @@ extern "C"
* http://jackit.sourceforge.net/docs/design/design.html#SECTION00411000000000000000
* for more information.
*
* NOTE: this function cannot be called while the client is activated
* (after jack_activate has been called.)
*
* @return 0 on success, otherwise a non-zero error code.
*/
int jack_set_process_thread(jack_client_t* client, JackThreadCallback thread_callback, void *arg);
@@ -267,6 +273,9 @@ extern "C"
* The code in the supplied function does not need to be
* suitable for real-time execution.
*
* NOTE: this function cannot be called while the client is activated
* (after jack_activate has been called.)
*
* @return 0 on success, otherwise a non-zero error code, causing JACK
* to remove that client from the process() graph.
*/
@@ -284,7 +293,10 @@ extern "C"
* All "notification events" are received in a seperated non RT thread,
* the code in the supplied function does not need to be
* suitable for real-time execution.
*
*
* NOTE: this function cannot be called while the client is activated
* (after jack_activate has been called.)
*
* @return 0 on success, otherwise a non-zero error code.
*/
int jack_set_freewheel_callback (jack_client_t *client,
@@ -344,6 +356,9 @@ extern "C"
* the code in the supplied function does not need to be
* suitable for real-time execution.
*
* NOTE: this function cannot be called while the client is activated
* (after jack_activate has been called.)
*
* @param client pointer to JACK client structure.
* @param bufsize_callback function to call when the buffer size changes.
* @param arg argument for @a bufsize_callback.
@@ -362,6 +377,9 @@ extern "C"
* the code in the supplied function does not need to be
* suitable for real-time execution.
*
* NOTE: this function cannot be called while the client is activated
* (after jack_activate has been called.)
*
* @return 0 on success, otherwise a non-zero error code
*/
int jack_set_sample_rate_callback (jack_client_t *client,
@@ -375,6 +393,9 @@ extern "C"
* All "notification events" are received in a seperated non RT thread,
* the code in the supplied function does not need to be
* suitable for real-time execution.
*
* NOTE: this function cannot be called while the client is activated
* (after jack_activate has been called.)
*
* @return 0 on success, otherwise a non-zero error code
*/
@@ -390,6 +411,9 @@ extern "C"
* the code in the supplied function does not need to be
* suitable for real-time execution.
*
* NOTE: this function cannot be called while the client is activated
* (after jack_activate has been called.)
*
* @return 0 on success, otherwise a non-zero error code
*/
int jack_set_port_registration_callback (jack_client_t *,
@@ -403,6 +427,9 @@ extern "C"
* All "notification events" are received in a seperated non RT thread,
* the code in the supplied function does not need to be
* suitable for real-time execution.
*
* NOTE: this function cannot be called while the client is activated
* (after jack_activate has been called.)
*
* @return 0 on success, otherwise a non-zero error code
*/
@@ -418,6 +445,9 @@ extern "C"
* the code in the supplied function does not need to be
* suitable for real-time execution.
*
* NOTE: this function cannot be called while the client is activated
* (after jack_activate has been called.)
*
* @return 0 on success, otherwise a non-zero error code
*/
int jack_set_graph_order_callback (jack_client_t *,
@@ -432,6 +462,9 @@ extern "C"
* the code in the supplied function does not need to be
* suitable for real-time execution.
*
* NOTE: this function cannot be called while the client is activated
* (after jack_activate has been called.)
*
* @return 0 on success, otherwise a non-zero error code
*/
int jack_set_xrun_callback (jack_client_t *,


+ 1
- 1
macosx/JackCoreAudioDriver.h View File

@@ -60,7 +60,7 @@ class JackCoreAudioDriver : public JackAudioDriver

bool fState;

/// Intitial state
// Initial state
bool fCapturing;
bool fPlaying;



Loading…
Cancel
Save