Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
seq_device.h File Reference

Go to the source code of this file.

Data Structures

struct  snd_seq_device
 
struct  snd_seq_dev_ops
 

Macros

#define ID_LEN   32
 
#define SNDRV_SEQ_DEVICE_FREE   0
 
#define SNDRV_SEQ_DEVICE_REGISTERED   1
 
#define SNDRV_SEQ_DEVICE_ARGPTR(dev)   (void *)((char *)(dev) + sizeof(struct snd_seq_device))
 
#define SNDRV_SEQ_DEV_ID_MIDISYNTH   "seq-midi"
 
#define SNDRV_SEQ_DEV_ID_OPL3   "opl3-synth"
 

Functions

void snd_seq_device_load_drivers (void)
 
int snd_seq_device_new (struct snd_card *card, int device, char *id, int argsize, struct snd_seq_device **result)
 
int snd_seq_device_register_driver (char *id, struct snd_seq_dev_ops *entry, int argsize)
 
int snd_seq_device_unregister_driver (char *id)
 

Macro Definition Documentation

#define ID_LEN   32

Definition at line 28 of file seq_device.h.

#define SNDRV_SEQ_DEV_ID_MIDISYNTH   "seq-midi"

Definition at line 81 of file seq_device.h.

#define SNDRV_SEQ_DEV_ID_OPL3   "opl3-synth"

Definition at line 82 of file seq_device.h.

#define SNDRV_SEQ_DEVICE_ARGPTR (   dev)    (void *)((char *)(dev) + sizeof(struct snd_seq_device))

Definition at line 75 of file seq_device.h.

#define SNDRV_SEQ_DEVICE_FREE   0

Definition at line 31 of file seq_device.h.

#define SNDRV_SEQ_DEVICE_REGISTERED   1

Definition at line 32 of file seq_device.h.

Function Documentation

void snd_seq_device_load_drivers ( void  )

Definition at line 142 of file seq_device.c.

int snd_seq_device_new ( struct snd_card card,
int  device,
char id,
int  argsize,
struct snd_seq_device **  result 
)

Definition at line 176 of file seq_device.c.

int snd_seq_device_register_driver ( char id,
struct snd_seq_dev_ops entry,
int  argsize 
)

Definition at line 311 of file seq_device.c.

int snd_seq_device_unregister_driver ( char id)

Definition at line 391 of file seq_device.c.