Name
snd_get_device —
get the assigned device to the given type and device number
Synopsis
struct device * snd_get_device ( | int type, |
| struct snd_card * card, |
| int dev) ; |
Arguments
type
the device type, SNDRV_DEVICE_TYPE_XXX
card
the card instance
dev
the device index
Description
The caller needs to release it via put_device
after using it.