other versions
- jessie 3.16.56-1+deb8u1
SND_HWDEP_NEW(9) | Sound Devices | SND_HWDEP_NEW(9) |
NAME¶
snd_hwdep_new - create a new hwdep instanceSYNOPSIS¶
int
snd_hwdep_new(struct snd_card * card,
char * id, int device,
struct snd_hwdep ** rhwdep);
ARGUMENTS¶
cardthe card instance
id
the id string
device
the device index (zero-based)
rhwdep
the pointer to store the new hwdep instance
DESCRIPTION¶
Creates a new hwdep instance with the given index on the card. The callbacks (hwdep->ops) must be set on the returned instance after this call manually by the caller.RETURN¶
Zero if successful, or a negative error code on failure.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |