Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
seq_oss_event.h File Reference
#include "seq_oss_device.h"

Go to the source code of this file.

Data Structures

struct  evrec_short
 
struct  evrec_note
 
struct  evrec_timer
 
struct  evrec_extended
 
struct  evrec_long
 
struct  evrec_voice
 
struct  evrec_sysex
 
union  evrec
 

Macros

#define SHORT_EVENT_SIZE   4
 
#define LONG_EVENT_SIZE   8
 
#define ev_is_long(ev)   ((ev)->s.code >= 128)
 
#define ev_length(ev)   ((ev)->s.code >= 128 ? LONG_EVENT_SIZE : SHORT_EVENT_SIZE)
 

Functions

int snd_seq_oss_process_event (struct seq_oss_devinfo *dp, union evrec *q, struct snd_seq_event *ev)
 
int snd_seq_oss_process_timer_event (struct seq_oss_timer *rec, union evrec *q)
 
int snd_seq_oss_event_input (struct snd_seq_event *ev, int direct, void *private_data, int atomic, int hop)
 

Macro Definition Documentation

#define ev_is_long (   ev)    ((ev)->s.code >= 128)

Definition at line 104 of file seq_oss_event.h.

#define ev_length (   ev)    ((ev)->s.code >= 128 ? LONG_EVENT_SIZE : SHORT_EVENT_SIZE)

Definition at line 105 of file seq_oss_event.h.

#define LONG_EVENT_SIZE   8

Definition at line 29 of file seq_oss_event.h.

#define SHORT_EVENT_SIZE   4

Definition at line 28 of file seq_oss_event.h.

Function Documentation

int snd_seq_oss_event_input ( struct snd_seq_event ev,
int  direct,
void private_data,
int  atomic,
int  hop 
)

Definition at line 422 of file seq_oss_event.c.

int snd_seq_oss_process_event ( struct seq_oss_devinfo dp,
union evrec q,
struct snd_seq_event ev 
)

Definition at line 54 of file seq_oss_event.c.

int snd_seq_oss_process_timer_event ( struct seq_oss_timer rec,
union evrec q 
)

Definition at line 86 of file seq_oss_timer.c.