Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
opl4_synth.c File Reference
#include "opl4_local.h"
#include <linux/delay.h>
#include <asm/io.h>
#include <sound/asoundef.h>

Go to the source code of this file.

Macros

#define MIDI_CTL_RELEASE_TIME   0x48
 
#define MIDI_CTL_ATTACK_TIME   0x49
 
#define MIDI_CTL_DECAY_TIME   0x4b
 
#define MIDI_CTL_VIBRATO_RATE   0x4c
 
#define MIDI_CTL_VIBRATO_DEPTH   0x4d
 
#define MIDI_CTL_VIBRATO_DELAY   0x4e
 

Functions

void snd_opl4_synth_reset (struct snd_opl4 *opl4)
 
void snd_opl4_synth_shutdown (struct snd_opl4 *opl4)
 
void snd_opl4_note_on (void *private_data, int note, int vel, struct snd_midi_channel *chan)
 
void snd_opl4_note_off (void *private_data, int note, int vel, struct snd_midi_channel *chan)
 
void snd_opl4_terminate_note (void *private_data, int note, struct snd_midi_channel *chan)
 
void snd_opl4_control (void *private_data, int type, struct snd_midi_channel *chan)
 
void snd_opl4_sysex (void *private_data, unsigned char *buf, int len, int parsed, struct snd_midi_channel_set *chset)
 

Macro Definition Documentation

#define MIDI_CTL_ATTACK_TIME   0x49

Definition at line 42 of file opl4_synth.c.

#define MIDI_CTL_DECAY_TIME   0x4b

Definition at line 43 of file opl4_synth.c.

#define MIDI_CTL_RELEASE_TIME   0x48

Definition at line 41 of file opl4_synth.c.

#define MIDI_CTL_VIBRATO_DELAY   0x4e

Definition at line 46 of file opl4_synth.c.

#define MIDI_CTL_VIBRATO_DEPTH   0x4d

Definition at line 45 of file opl4_synth.c.

#define MIDI_CTL_VIBRATO_RATE   0x4c

Definition at line 44 of file opl4_synth.c.

Function Documentation

void snd_opl4_control ( void private_data,
int  type,
struct snd_midi_channel chan 
)

Definition at line 585 of file opl4_synth.c.

void snd_opl4_note_off ( void private_data,
int  note,
int  vel,
struct snd_midi_channel chan 
)

Definition at line 563 of file opl4_synth.c.

void snd_opl4_note_on ( void private_data,
int  note,
int  vel,
struct snd_midi_channel chan 
)

Definition at line 482 of file opl4_synth.c.

void snd_opl4_synth_reset ( struct snd_opl4 opl4)

Definition at line 273 of file opl4_synth.c.

void snd_opl4_synth_shutdown ( struct snd_opl4 opl4)

Definition at line 297 of file opl4_synth.c.

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

Definition at line 624 of file opl4_synth.c.

void snd_opl4_terminate_note ( void private_data,
int  note,
struct snd_midi_channel chan 
)

Definition at line 578 of file opl4_synth.c.