linux/sound/synth/emux/emux_effect.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  Midi synth routines for the Emu8k/Emu10k1
 *
 *  Copyright (C) 1999 Steve Ratcliffe
 *  Copyright (c) 1999-2000 Takashi Iwai <[email protected]>
 *
 *  Contains code based on awe_wave.c by Takashi Iwai
 */

#include "emux_voice.h"
#include <linux/slab.h>

#ifdef SNDRV_EMUX_USE_RAW_EFFECT
/*
 * effects table
 */

#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] =;

/* set byte effect value */
static void
effect_set_byte(unsigned char *valp, struct snd_midi_channel *chan, int type)
{}

/* set word effect value */
static void
effect_set_word(unsigned short *valp, struct snd_midi_channel *chan, int type)
{}

/* address offset */
static int
effect_get_offset(struct snd_midi_channel *chan, int lo, int hi, int mode)
{}

#if IS_ENABLED(CONFIG_SND_SEQUENCER_OSS)
/* change effects - for OSS sequencer compatibility */
void
snd_emux_send_effect_oss(struct snd_emux_port *port,
			 struct snd_midi_channel *chan, int type, int val)
{}
#endif

/* Modify the effect value.
 * if update is necessary, call emu8000_control
 */
void
snd_emux_send_effect(struct snd_emux_port *port, struct snd_midi_channel *chan,
		     int type, int val, int mode)
{}


/* copy wavetable registers to voice table */
void
snd_emux_setup_effect(struct snd_emux_voice *vp)
{}

/*
 * effect table
 */
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 /* SNDRV_EMUX_USE_RAW_EFFECT */