Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
emux_voice.h File Reference
#include <linux/wait.h>
#include <linux/sched.h>
#include <sound/core.h>
#include <sound/emux_synth.h>

Go to the source code of this file.

Macros

#define STATE_IS_PLAYING(s)   ((s) & SNDRV_EMUX_ST_ON)
 

Functions

int snd_emux_init_seq (struct snd_emux *emu, struct snd_card *card, int index)
 
void snd_emux_detach_seq (struct snd_emux *emu)
 
struct snd_emux_portsnd_emux_create_port (struct snd_emux *emu, char *name, int max_channels, int type, struct snd_seq_port_callback *callback)
 
void snd_emux_reset_port (struct snd_emux_port *port)
 
int snd_emux_event_input (struct snd_seq_event *ev, int direct, void *private, int atomic, int hop)
 
int snd_emux_inc_count (struct snd_emux *emu)
 
void snd_emux_dec_count (struct snd_emux *emu)
 
int snd_emux_init_virmidi (struct snd_emux *emu, struct snd_card *card)
 
int snd_emux_delete_virmidi (struct snd_emux *emu)
 
void snd_emux_init_voices (struct snd_emux *emu)
 
void snd_emux_note_on (void *p, int note, int vel, struct snd_midi_channel *chan)
 
void snd_emux_note_off (void *p, int note, int vel, struct snd_midi_channel *chan)
 
void snd_emux_key_press (void *p, int note, int vel, struct snd_midi_channel *chan)
 
void snd_emux_terminate_note (void *p, int note, struct snd_midi_channel *chan)
 
void snd_emux_control (void *p, int type, struct snd_midi_channel *chan)
 
void snd_emux_sounds_off_all (struct snd_emux_port *port)
 
void snd_emux_update_channel (struct snd_emux_port *port, struct snd_midi_channel *chan, int update)
 
void snd_emux_update_port (struct snd_emux_port *port, int update)
 
void snd_emux_timer_callback (unsigned long data)
 
void snd_emux_sysex (void *private_data, unsigned char *buf, int len, int parsed, struct snd_midi_channel_set *chset)
 
int snd_emux_xg_control (struct snd_emux_port *port, struct snd_midi_channel *chan, int param)
 
void snd_emux_nrpn (void *private_data, struct snd_midi_channel *chan, struct snd_midi_channel_set *chset)
 
void snd_emux_init_seq_oss (struct snd_emux *emu)
 
void snd_emux_detach_seq_oss (struct snd_emux *emu)
 
int snd_emux_init_hwdep (struct snd_emux *emu)
 
void snd_emux_delete_hwdep (struct snd_emux *emu)
 

Macro Definition Documentation

#define STATE_IS_PLAYING (   s)    ((s) & SNDRV_EMUX_ST_ON)

Definition at line 90 of file emux_voice.h.

Function Documentation

void snd_emux_control ( void p,
int  type,
struct snd_midi_channel chan 
)

Definition at line 327 of file emux_synth.c.

struct snd_emux_port* snd_emux_create_port ( struct snd_emux emu,
char name,
int  max_channels,
int  type,
struct snd_seq_port_callback callback 
)
read

Definition at line 141 of file emux_seq.c.

void snd_emux_dec_count ( struct snd_emux emu)

Definition at line 292 of file emux_seq.c.

void snd_emux_delete_hwdep ( struct snd_emux emu)

Definition at line 147 of file emux_hwdep.c.

int snd_emux_delete_virmidi ( struct snd_emux emu)

Definition at line 389 of file emux_seq.c.

void snd_emux_detach_seq ( struct snd_emux emu)

Definition at line 122 of file emux_seq.c.

void snd_emux_detach_seq_oss ( struct snd_emux emu)
int snd_emux_event_input ( struct snd_seq_event ev,
int  direct,
void private,
int  atomic,
int  hop 
)

Definition at line 254 of file emux_seq.c.

int snd_emux_inc_count ( struct snd_emux emu)

Definition at line 273 of file emux_seq.c.

int snd_emux_init_hwdep ( struct snd_emux emu)

Definition at line 120 of file emux_hwdep.c.

int snd_emux_init_seq ( struct snd_emux emu,
struct snd_card card,
int  index 
)

Definition at line 68 of file emux_seq.c.

void snd_emux_init_seq_oss ( struct snd_emux emu)
int snd_emux_init_virmidi ( struct snd_emux emu,
struct snd_card card 
)

Definition at line 352 of file emux_seq.c.

void snd_emux_init_voices ( struct snd_emux emu)

Definition at line 930 of file emux_synth.c.

void snd_emux_key_press ( void p,
int  note,
int  vel,
struct snd_midi_channel chan 
)

Definition at line 238 of file emux_synth.c.

void snd_emux_note_off ( void p,
int  note,
int  vel,
struct snd_midi_channel chan 
)

Definition at line 159 of file emux_synth.c.

void snd_emux_note_on ( void p,
int  note,
int  vel,
struct snd_midi_channel chan 
)

Definition at line 60 of file emux_synth.c.

void snd_emux_nrpn ( void private_data,
struct snd_midi_channel chan,
struct snd_midi_channel_set chset 
)

Definition at line 286 of file emux_nrpn.c.

void snd_emux_reset_port ( struct snd_emux_port port)

Definition at line 225 of file emux_seq.c.

void snd_emux_sounds_off_all ( struct snd_emux_port port)

Definition at line 452 of file emux_synth.c.

void snd_emux_sysex ( void private_data,
unsigned char buf,
int  len,
int  parsed,
struct snd_midi_channel_set chset 
)

Definition at line 375 of file emux_nrpn.c.

void snd_emux_terminate_note ( void p,
int  note,
struct snd_midi_channel chan 
)

Definition at line 401 of file emux_synth.c.

void snd_emux_timer_callback ( unsigned long  data)

Definition at line 206 of file emux_synth.c.

void snd_emux_update_channel ( struct snd_emux_port port,
struct snd_midi_channel chan,
int  update 
)

Definition at line 271 of file emux_synth.c.

void snd_emux_update_port ( struct snd_emux_port port,
int  update 
)

Definition at line 298 of file emux_synth.c.

int snd_emux_xg_control ( struct snd_emux_port port,
struct snd_midi_channel chan,
int  param 
)

Definition at line 362 of file emux_nrpn.c.