Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions | Variables
seq_kernel.h File Reference
#include <linux/time.h>
#include <sound/asequencer.h>

Go to the source code of this file.

Data Structures

struct  snd_seq_port_callback
 

Macros

#define SNDRV_SEQ_MAX_DEQUEUE   50
 
#define SNDRV_SEQ_MAX_QUEUES   8
 
#define SNDRV_SEQ_MAX_CLIENTS   192
 
#define SNDRV_SEQ_MAX_PORTS   254
 
#define SNDRV_SEQ_MAX_EVENTS   2000
 
#define SNDRV_SEQ_DEFAULT_CHUNK_EVENTS   64
 
#define SNDRV_SEQ_DEFAULT_EVENTS   500
 
#define SNDRV_SEQ_MAX_CLIENT_EVENTS   2000
 
#define SNDRV_SEQ_DEFAULT_CLIENT_EVENTS   200
 
#define SNDRV_SEQ_MAX_HOPS   10
 
#define SNDRV_SEQ_MAX_EVENT_LEN   0x3fffffff
 
#define SNDRV_SEQ_EXT_MASK   0xc0000000
 
#define SNDRV_SEQ_EXT_USRPTR   0x80000000
 
#define SNDRV_SEQ_EXT_CHAINED   0x40000000
 
#define snd_seq_autoload_lock()
 
#define snd_seq_autoload_unlock()
 

Typedefs

typedef struct snd_seq_real_time snd_seq_real_time_t
 
typedef union snd_seq_timestamp snd_seq_timestamp_t
 
typedef int(* snd_seq_dump_func_t )(void *ptr, void *buf, int count)
 

Functions

 __printf (3, 4) int snd_seq_create_kernel_client(struct snd_card *card
 
int const char int snd_seq_delete_kernel_client (int client)
 
int snd_seq_kernel_client_enqueue (int client, struct snd_seq_event *ev, int atomic, int hop)
 
int snd_seq_kernel_client_dispatch (int client, struct snd_seq_event *ev, int atomic, int hop)
 
int snd_seq_kernel_client_ctl (int client, unsigned int cmd, void *arg)
 
int snd_seq_expand_var_event (const struct snd_seq_event *event, int count, char *buf, int in_kernel, int size_aligned)
 
int snd_seq_dump_var_event (const struct snd_seq_event *event, snd_seq_dump_func_t func, void *private_data)
 
int snd_seq_set_queue_tempo (int client, struct snd_seq_queue_tempo *tempo)
 
void snd_port_init_callback (struct snd_seq_port_callback *p)
 
struct snd_seq_port_callbacksnd_port_alloc_callback (void)
 
int snd_seq_event_port_attach (int client, struct snd_seq_port_callback *pcbp, int cap, int type, int midi_channels, int midi_voices, char *portname)
 
int snd_seq_event_port_detach (int client, int port)
 

Variables

int client_index
 
int const charname_fmt
 

Macro Definition Documentation

#define snd_seq_autoload_lock ( )

Definition at line 112 of file seq_kernel.h.

#define snd_seq_autoload_unlock ( )

Definition at line 113 of file seq_kernel.h.

#define SNDRV_SEQ_DEFAULT_CHUNK_EVENTS   64

Definition at line 46 of file seq_kernel.h.

#define SNDRV_SEQ_DEFAULT_CLIENT_EVENTS   200

Definition at line 55 of file seq_kernel.h.

#define SNDRV_SEQ_DEFAULT_EVENTS   500

Definition at line 49 of file seq_kernel.h.

#define SNDRV_SEQ_EXT_CHAINED   0x40000000

Definition at line 88 of file seq_kernel.h.

#define SNDRV_SEQ_EXT_MASK   0xc0000000

Definition at line 86 of file seq_kernel.h.

#define SNDRV_SEQ_EXT_USRPTR   0x80000000

Definition at line 87 of file seq_kernel.h.

#define SNDRV_SEQ_MAX_CLIENT_EVENTS   2000

Definition at line 52 of file seq_kernel.h.

#define SNDRV_SEQ_MAX_CLIENTS   192

Definition at line 37 of file seq_kernel.h.

#define SNDRV_SEQ_MAX_DEQUEUE   50

Definition at line 31 of file seq_kernel.h.

#define SNDRV_SEQ_MAX_EVENT_LEN   0x3fffffff

Definition at line 61 of file seq_kernel.h.

#define SNDRV_SEQ_MAX_EVENTS   2000

Definition at line 43 of file seq_kernel.h.

#define SNDRV_SEQ_MAX_HOPS   10

Definition at line 58 of file seq_kernel.h.

#define SNDRV_SEQ_MAX_PORTS   254

Definition at line 40 of file seq_kernel.h.

#define SNDRV_SEQ_MAX_QUEUES   8

Definition at line 34 of file seq_kernel.h.

Typedef Documentation

typedef int(* snd_seq_dump_func_t)(void *ptr, void *buf, int count)

Definition at line 90 of file seq_kernel.h.

Definition at line 27 of file seq_kernel.h.

Definition at line 28 of file seq_kernel.h.

Function Documentation

__printf ( ,
 
)
struct snd_seq_port_callback* snd_port_alloc_callback ( void  )
read
void snd_port_init_callback ( struct snd_seq_port_callback p)
int const char int snd_seq_delete_kernel_client ( int  client)

Definition at line 2277 of file seq_clientmgr.c.

int snd_seq_dump_var_event ( const struct snd_seq_event event,
snd_seq_dump_func_t  func,
void private_data 
)

Definition at line 79 of file seq_memory.c.

int snd_seq_event_port_attach ( int  client,
struct snd_seq_port_callback pcbp,
int  cap,
int  type,
int  midi_channels,
int  midi_voices,
char portname 
)

Definition at line 633 of file seq_ports.c.

int snd_seq_event_port_detach ( int  client,
int  port 
)

Definition at line 670 of file seq_ports.c.

int snd_seq_expand_var_event ( const struct snd_seq_event event,
int  count,
char buf,
int  in_kernel,
int  size_aligned 
)

Definition at line 144 of file seq_memory.c.

int snd_seq_kernel_client_ctl ( int  client,
unsigned int  cmd,
void arg 
)

Definition at line 2401 of file seq_clientmgr.c.

int snd_seq_kernel_client_dispatch ( int  client,
struct snd_seq_event ev,
int  atomic,
int  hop 
)

Definition at line 2366 of file seq_clientmgr.c.

int snd_seq_kernel_client_enqueue ( int  client,
struct snd_seq_event ev,
int  atomic,
int  hop 
)

Definition at line 2337 of file seq_clientmgr.c.

int snd_seq_set_queue_tempo ( int  client,
struct snd_seq_queue_tempo tempo 
)

Definition at line 1713 of file seq_clientmgr.c.

Variable Documentation

int client_index

Definition at line 79 of file seq_kernel.h.

int const char* name_fmt

Definition at line 79 of file seq_kernel.h.