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_card_set_longname.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_card_set_longname.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_card_set_longname.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_card_set_longname.html on line 8
Create a name that identifies an instance of the audio hardware
#include <audio_driver.h>
void ado_card_set_longname( ado_card_t *card,
char *name,
uint32_t addr );
- card
- The card argument that io-audio passed to your
Audio HW DLL's
ctrl_init()
function (see the Organization of a Driver chapter).
- name
- This string is generally, but doesn't have to be,
the card's short name; see
ado_card_set_shortname().
- addr
- A number that's unique to this instance of the DLL, such as the address
of the chip or I/O port.
The ado_card_set_longname() convenience
function builds a character string
of up to 80 characters that identifies an instance of the audio hardware.
The resulting name must be unique, even across multiple invocations of the
same driver.
For example, SoundBlaster16 @ 220.
QNX Neutrino
Safety: | |
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
ado_card_set_shortname()
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_card_set_longname.html on line 111
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_card_set_longname.html on line 111