1SND_HWDEP_NEW(9)            Miscellaneous Functions           SND_HWDEP_NEW(9)
2
3
4

NAME

6       snd_hwdep_new - create a new hwdep instance
7

SYNOPSIS

9       int snd_hwdep_new(struct snd_card * card, char * id, int device,
10                         struct snd_hwdep ** rhwdep);
11

ARGUMENTS

13       card
14           the card instance
15
16       id
17           the id string
18
19       device
20           the device index (zero-based)
21
22       rhwdep
23           the pointer to store the new hwdep instance
24

DESCRIPTION

26       Creates a new hwdep instance with the given index on the card. The
27       callbacks (hwdep->ops) must be set on the returned instance after this
28       call manually by the caller.
29

RETURN

31       Zero if successful, or a negative error code on failure.
32
34Kernel Hackers Manual 3.10         June 2019                  SND_HWDEP_NEW(9)
Impressum