ado_card_set_longname()

Create a name that identifies an instance of the audio hardware

Synopsis:

#include <audio_driver.h>

void ado_card_set_longname( ado_card_t *card,
                            char *name,
                            uint32_t addr );

Arguments:

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.

Description:

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.

Classification:

QNX Neutrino

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

See also:

ado_card_set_shortname()