other versions
- jessie 3.16.56-1+deb8u1
SND_LOOKUP_MINOR_DAT(9) | Sound Devices | SND_LOOKUP_MINOR_DAT(9) |
NAME¶
snd_lookup_minor_data - get user data of a registered deviceSYNOPSIS¶
void *
snd_lookup_minor_data(unsigned int minor,
int type);
ARGUMENTS¶
minorthe minor number
type
device type (SNDRV_DEVICE_TYPE_XXX)
DESCRIPTION¶
Checks that a minor device with the specified type is registered, and returns its user data pointer. This function increments the reference counter of the card instance if an associated instance with the given minor number and type is found. The caller must call snd_card_unref appropriately later.RETURN¶
The user data pointer if the specified device is found. NULL otherwise.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |