Name

snd_card_set_generic_dev — assign the generic device to the card

Synopsis

int snd_card_set_generic_dev (snd_card_t * card);

Arguments

card

soundcard structure

Description

Assigns a generic device to the card. This function is provided as the last resort, for devices without any proper bus. Thus this won't override the device already assigned to the card.

Returns zero if successful, or a negative error code.