table of contents
other versions
- wheezy 3.2.78-1
SND_DEVICE_FREE(9) | Sound Devices | SND_DEVICE_FREE(9) |
NAME¶
snd_device_free - release the device from the cardSYNOPSIS¶
int
snd_device_free(struct snd_card * card,
void * device_data);
ARGUMENTS¶
cardthe card instance
device_data
the data pointer to release
DESCRIPTION¶
Removes the device from the list on the card and invokes the callbacks, dev_disconnect and dev_free, corresponding to the state. Then release the device. Returns zero if successful, or a negative error code on failure or if the device not found.COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |