Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_debug.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_debug.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_debug.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_debug.html on line 8

ado_debug()

Send a debugging string to slogger for logging

Synopsis:

#include <audio_driver.h>

void ado_debug( uint32_t lvl,
                char *format,
                ... );

Arguments:

lvl
The debugging level. If the global variable db_lvl logically ANDed with lvl is true, ado_debug() sends the debugging string to the system logger.

The db_lvl global variable is set based on the -v[v...] option to io-audio.

format
A formatting string, similar to that used by printf().
...
Additional arguments, as required by the format string.

Description:

The ado_debug() sends a debugging string to slogger for logging.

If ADO_DEBUG is defined, these messages are also sent to standard output. For more information, see Debugging an audio driver in the Organization of a Driver chapter.

Classification:

QNX Neutrino

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread No

See also:

ado_error()

io-audio, slogger in the QNX Utilities Reference

printf() in the QNX Library Reference


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_debug.html on line 124

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_debug.html on line 124