#include "emux_voice.h"
#include <linux/slab.h>
#ifdef SNDRV_EMUX_USE_RAW_EFFECT
#define xoffsetof(type,tag) …
#define parm_offset(tag) …
#define PARM_IS_BYTE …
#define PARM_IS_WORD …
#define PARM_IS_ALIGNED …
#define PARM_IS_ALIGN_HI …
#define PARM_IS_ALIGN_LO …
#define PARM_IS_SIGNED …
#define PARM_WORD …
#define PARM_BYTE_LO …
#define PARM_BYTE_HI …
#define PARM_BYTE …
#define PARM_SIGN_LO …
#define PARM_SIGN_HI …
static struct emux_parm_defs { … } parm_defs[EMUX_NUM_EFFECTS] = …;
static void
effect_set_byte(unsigned char *valp, struct snd_midi_channel *chan, int type)
{ … }
static void
effect_set_word(unsigned short *valp, struct snd_midi_channel *chan, int type)
{ … }
static int
effect_get_offset(struct snd_midi_channel *chan, int lo, int hi, int mode)
{ … }
#if IS_ENABLED(CONFIG_SND_SEQUENCER_OSS)
void
snd_emux_send_effect_oss(struct snd_emux_port *port,
struct snd_midi_channel *chan, int type, int val)
{ … }
#endif
void
snd_emux_send_effect(struct snd_emux_port *port, struct snd_midi_channel *chan,
int type, int val, int mode)
{ … }
void
snd_emux_setup_effect(struct snd_emux_voice *vp)
{ … }
void
snd_emux_create_effect(struct snd_emux_port *p)
{ … }
void
snd_emux_delete_effect(struct snd_emux_port *p)
{ … }
void
snd_emux_clear_effect(struct snd_emux_port *p)
{ … }
#endif