Linux Kernel
3.7.1
|
#include <sound/seq_kernel.h>
#include <sound/seq_device.h>
#include <sound/soundfont.h>
#include <sound/seq_midi_emul.h>
#include <sound/emux_legacy.h>
#include <sound/seq_virmidi.h>
Go to the source code of this file.
Data Structures | |
struct | snd_emux_operators |
struct | snd_emux |
struct | snd_emux_port |
struct | snd_emux_voice |
struct | snd_emux_effect_table |
Macros | |
#define | SNDRV_EMUX_USE_RAW_EFFECT |
#define | SNDRV_EMUX_MAX_PORTS 32 /* max # of sequencer ports */ |
#define | SNDRV_EMUX_MAX_VOICES 64 /* max # of voices */ |
#define | SNDRV_EMUX_MAX_MULTI_VOICES |
#define | SNDRV_EMUX_ACCEPT_ROM (1<<0) |
#define | SNDRV_EMUX_PORT_MODE_MIDI 0 /* normal MIDI port */ |
#define | SNDRV_EMUX_PORT_MODE_OSS_SYNTH 1 /* OSS synth port */ |
#define | SNDRV_EMUX_PORT_MODE_OSS_MIDI 2 /* OSS multi channel synth port */ |
#define | SNDRV_EMUX_ST_OFF 0x00 /* Not playing, and inactive */ |
#define | SNDRV_EMUX_ST_ON 0x01 /* Note on */ |
#define | SNDRV_EMUX_ST_RELEASED (0x02|SNDRV_EMUX_ST_ON) /* Note released */ |
#define | SNDRV_EMUX_ST_SUSTAINED (0x04|SNDRV_EMUX_ST_ON) /* Note sustained */ |
#define | SNDRV_EMUX_ST_STANDBY (0x08|SNDRV_EMUX_ST_ON) /* Waiting to be triggered */ |
#define | SNDRV_EMUX_ST_PENDING (0x10|SNDRV_EMUX_ST_ON) /* Note will be released */ |
#define | SNDRV_EMUX_ST_LOCKED 0x100 /* Not accessible */ |
#define | SNDRV_EMUX_UPDATE_VOLUME (1<<0) |
#define | SNDRV_EMUX_UPDATE_PITCH (1<<1) |
#define | SNDRV_EMUX_UPDATE_PAN (1<<2) |
#define | SNDRV_EMUX_UPDATE_FMMOD (1<<3) |
#define | SNDRV_EMUX_UPDATE_TREMFREQ (1<<4) |
#define | SNDRV_EMUX_UPDATE_FM2FRQ2 (1<<5) |
#define | SNDRV_EMUX_UPDATE_Q (1<<6) |
Functions | |
int | snd_emux_new (struct snd_emux **remu) |
int | snd_emux_register (struct snd_emux *emu, struct snd_card *card, int index, char *name) |
int | snd_emux_free (struct snd_emux *emu) |
void | snd_emux_terminate_all (struct snd_emux *emu) |
void | snd_emux_lock_voice (struct snd_emux *emu, int voice) |
void | snd_emux_unlock_voice (struct snd_emux *emu, int voice) |
#define SNDRV_EMUX_ACCEPT_ROM (1<<0) |
Definition at line 85 of file emux_synth.h.
#define SNDRV_EMUX_MAX_MULTI_VOICES |
Definition at line 80 of file emux_synth.h.
Definition at line 78 of file emux_synth.h.
#define SNDRV_EMUX_MAX_VOICES 64 /* max # of voices */ |
Definition at line 79 of file emux_synth.h.
#define SNDRV_EMUX_PORT_MODE_MIDI 0 /* normal MIDI port */ |
Definition at line 157 of file emux_synth.h.
Definition at line 159 of file emux_synth.h.
Definition at line 158 of file emux_synth.h.
#define SNDRV_EMUX_ST_LOCKED 0x100 /* Not accessible */ |
Definition at line 174 of file emux_synth.h.
#define SNDRV_EMUX_ST_OFF 0x00 /* Not playing, and inactive */ |
Definition at line 168 of file emux_synth.h.
#define SNDRV_EMUX_ST_ON 0x01 /* Note on */ |
Definition at line 169 of file emux_synth.h.
#define SNDRV_EMUX_ST_PENDING (0x10|SNDRV_EMUX_ST_ON) /* Note will be released */ |
Definition at line 173 of file emux_synth.h.
#define SNDRV_EMUX_ST_RELEASED (0x02|SNDRV_EMUX_ST_ON) /* Note released */ |
Definition at line 170 of file emux_synth.h.
#define SNDRV_EMUX_ST_STANDBY (0x08|SNDRV_EMUX_ST_ON) /* Waiting to be triggered */ |
Definition at line 172 of file emux_synth.h.
#define SNDRV_EMUX_ST_SUSTAINED (0x04|SNDRV_EMUX_ST_ON) /* Note sustained */ |
Definition at line 171 of file emux_synth.h.
#define SNDRV_EMUX_UPDATE_FM2FRQ2 (1<<5) |
Definition at line 212 of file emux_synth.h.
#define SNDRV_EMUX_UPDATE_FMMOD (1<<3) |
Definition at line 210 of file emux_synth.h.
#define SNDRV_EMUX_UPDATE_PAN (1<<2) |
Definition at line 209 of file emux_synth.h.
#define SNDRV_EMUX_UPDATE_PITCH (1<<1) |
Definition at line 208 of file emux_synth.h.
#define SNDRV_EMUX_UPDATE_Q (1<<6) |
Definition at line 213 of file emux_synth.h.
#define SNDRV_EMUX_UPDATE_TREMFREQ (1<<4) |
Definition at line 211 of file emux_synth.h.
#define SNDRV_EMUX_UPDATE_VOLUME (1<<0) |
Definition at line 207 of file emux_synth.h.
#define SNDRV_EMUX_USE_RAW_EFFECT |
Definition at line 37 of file emux_synth.h.
Definition at line 952 of file emux_synth.c.
Definition at line 422 of file emux_synth.c.