VSF Documented
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
Examples
File List
Globals
source
shell
sys
linux
include
sound
core.h
Go to the documentation of this file.
1
#ifndef __VSF_LINUX_SOUND_CORE_H__
2
#define __VSF_LINUX_SOUND_CORE_H__
3
4
#include <linux/device.h>
5
#include <
linux/module.h
>
6
7
struct
module
;
8
struct
snd_device
;
9
10
struct
snd_device
{
11
12
};
13
14
struct
snd_card
{
15
int
number
;
16
char
id
[16];
17
char
driver
[16];
18
char
shortname
[32];
19
char
longname
[80];
20
21
struct
module
*
module
;
22
void
*
private_data
;
23
struct
device
*
dev
;
24
struct
device
card_dev
;
25
};
26
27
int
snd_card_new
(
struct
device
*
parent
,
int
idx,
const
char
*xid,
28
struct
module
*
module
,
int
extra_size,
29
struct
snd_card
**card_ret);
30
void
snd_card_disconnect
(
struct
snd_card
*card);
31
void
snd_card_free
(
struct
snd_card
*card);
32
void
snd_card_free_when_closed
(
struct
snd_card
*card);
33
34
int
snd_card_register
(
struct
snd_card
*card);
35
36
#endif
snd_card_register
int snd_card_register(struct snd_card *card)
Definition
vsf_linux_core_sound.c:144
snd_card_free
void snd_card_free(struct snd_card *card)
Definition
vsf_linux_core_sound.c:153
snd_card_new
int snd_card_new(struct device *parent, int idx, const char *xid, struct module *module, int extra_size, struct snd_card **card_ret)
Definition
vsf_linux_core_sound.c:36
snd_card_free_when_closed
void snd_card_free_when_closed(struct snd_card *card)
Definition
vsf_linux_core_sound.c:157
snd_card_disconnect
void snd_card_disconnect(struct snd_card *card)
Definition
vsf_linux_core_sound.c:149
module.h
device
Definition
device.h:33
device::parent
struct device * parent
Definition
device.h:35
module
Definition
module.h:46
snd_card
Definition
core.h:14
snd_card::dev
struct device * dev
Definition
core.h:23
snd_card::private_data
void * private_data
Definition
core.h:22
snd_card::shortname
char shortname[32]
Definition
core.h:18
snd_card::longname
char longname[80]
Definition
core.h:19
snd_card::card_dev
struct device card_dev
Definition
core.h:24
snd_card::module
struct module * module
Definition
core.h:21
snd_card::number
int number
Definition
core.h:15
snd_card::driver
char driver[16]
Definition
core.h:17
snd_device
Definition
core.h:10
Generated from commit:
vsfteam/vsf@ceb53fd