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

Go to the source code of this file.

Macros

#define USE_SEQ_MACROS
 
#define USE_SIMPLE_MACROS
 
#define _MIDI_SYNTH_C_
 
#define STORE(cmd)
 
#define _seqbuf   obuf
 
#define _seqbufptr   0
 
#define _SEQ_ADVBUF(x)   len=x
 

Functions

void do_midi_msg (int synthno, unsigned char *msg, int mlen)
 
 EXPORT_SYMBOL (do_midi_msg)
 
int midi_synth_ioctl (int dev, unsigned int cmd, void __user *arg)
 
 EXPORT_SYMBOL (midi_synth_ioctl)
 
int midi_synth_kill_note (int dev, int channel, int note, int velocity)
 
 EXPORT_SYMBOL (midi_synth_kill_note)
 
int midi_synth_set_instr (int dev, int channel, int instr_no)
 
 EXPORT_SYMBOL (midi_synth_set_instr)
 
int midi_synth_start_note (int dev, int channel, int note, int velocity)
 
 EXPORT_SYMBOL (midi_synth_start_note)
 
void midi_synth_reset (int dev)
 
 EXPORT_SYMBOL (midi_synth_reset)
 
int midi_synth_open (int dev, int mode)
 
 EXPORT_SYMBOL (midi_synth_open)
 
void midi_synth_close (int dev)
 
 EXPORT_SYMBOL (midi_synth_close)
 
void midi_synth_hw_control (int dev, unsigned char *event)
 
 EXPORT_SYMBOL (midi_synth_hw_control)
 
int midi_synth_load_patch (int dev, int format, const char __user *addr, int count, int pmgr_flag)
 
 EXPORT_SYMBOL (midi_synth_load_patch)
 
void midi_synth_panning (int dev, int channel, int pressure)
 
 EXPORT_SYMBOL (midi_synth_panning)
 
void midi_synth_aftertouch (int dev, int channel, int pressure)
 
 EXPORT_SYMBOL (midi_synth_aftertouch)
 
void midi_synth_controller (int dev, int channel, int ctrl_num, int value)
 
 EXPORT_SYMBOL (midi_synth_controller)
 
void midi_synth_bender (int dev, int channel, int value)
 
 EXPORT_SYMBOL (midi_synth_bender)
 
void midi_synth_setup_voice (int dev, int voice, int channel)
 
 EXPORT_SYMBOL (midi_synth_setup_voice)
 
int midi_synth_send_sysex (int dev, unsigned char *bytes, int len)
 
 EXPORT_SYMBOL (midi_synth_send_sysex)
 

Macro Definition Documentation

#define _MIDI_SYNTH_C_

Definition at line 22 of file midi_synth.c.

#define _SEQ_ADVBUF (   x)    len=x

Definition at line 41 of file midi_synth.c.

#define _seqbuf   obuf

Definition at line 39 of file midi_synth.c.

#define _seqbufptr   0

Definition at line 40 of file midi_synth.c.

#define STORE (   cmd)
Value:
{ \
int len; \
unsigned char obuf[8]; \
cmd; \
seq_input_event(obuf, len); \
}

Definition at line 31 of file midi_synth.c.

#define USE_SEQ_MACROS

Definition at line 17 of file midi_synth.c.

#define USE_SIMPLE_MACROS

Definition at line 18 of file midi_synth.c.

Function Documentation

void do_midi_msg ( int  synthno,
unsigned char msg,
int  mlen 
)

Definition at line 44 of file midi_synth.c.

EXPORT_SYMBOL ( do_midi_msg  )
EXPORT_SYMBOL ( midi_synth_ioctl  )
EXPORT_SYMBOL ( midi_synth_kill_note  )
EXPORT_SYMBOL ( midi_synth_set_instr  )
EXPORT_SYMBOL ( midi_synth_start_note  )
EXPORT_SYMBOL ( midi_synth_reset  )
EXPORT_SYMBOL ( midi_synth_open  )
EXPORT_SYMBOL ( midi_synth_close  )
EXPORT_SYMBOL ( midi_synth_hw_control  )
EXPORT_SYMBOL ( midi_synth_load_patch  )
EXPORT_SYMBOL ( midi_synth_panning  )
EXPORT_SYMBOL ( midi_synth_aftertouch  )
EXPORT_SYMBOL ( midi_synth_controller  )
EXPORT_SYMBOL ( midi_synth_bender  )
EXPORT_SYMBOL ( midi_synth_setup_voice  )
EXPORT_SYMBOL ( midi_synth_send_sysex  )
void midi_synth_aftertouch ( int  dev,
int  channel,
int  pressure 
)

Definition at line 559 of file midi_synth.c.

void midi_synth_bender ( int  dev,
int  channel,
int  value 
)

Definition at line 620 of file midi_synth.c.

void midi_synth_close ( int  dev)

Definition at line 456 of file midi_synth.c.

void midi_synth_controller ( int  dev,
int  channel,
int  ctrl_num,
int  value 
)

Definition at line 591 of file midi_synth.c.

void midi_synth_hw_control ( int  dev,
unsigned char event 
)

Definition at line 472 of file midi_synth.c.

int midi_synth_ioctl ( int  dev,
unsigned int  cmd,
void __user arg 
)

Definition at line 260 of file midi_synth.c.

int midi_synth_kill_note ( int  dev,
int  channel,
int  note,
int  velocity 
)

Definition at line 283 of file midi_synth.c.

int midi_synth_load_patch ( int  dev,
int  format,
const char __user addr,
int  count,
int  pmgr_flag 
)

Definition at line 478 of file midi_synth.c.

int midi_synth_open ( int  dev,
int  mode 
)

Definition at line 423 of file midi_synth.c.

void midi_synth_panning ( int  dev,
int  channel,
int  pressure 
)

Definition at line 554 of file midi_synth.c.

void midi_synth_reset ( int  dev)

Definition at line 415 of file midi_synth.c.

int midi_synth_send_sysex ( int  dev,
unsigned char bytes,
int  len 
)

Definition at line 658 of file midi_synth.c.

int midi_synth_set_instr ( int  dev,
int  channel,
int  instr_no 
)

Definition at line 350 of file midi_synth.c.

void midi_synth_setup_voice ( int  dev,
int  voice,
int  channel 
)

Definition at line 652 of file midi_synth.c.

int midi_synth_start_note ( int  dev,
int  channel,
int  note,
int  velocity 
)

Definition at line 373 of file midi_synth.c.