linux/sound/drivers/opl3/opl3_drums.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  Copyright (c) by Uros Bizjak <[email protected]>
 *
 *   OPL2/OPL3/OPL4 FM routines for internal percussion channels
 */

#include "opl3_voice.h"

static const char snd_opl3_drum_table[47] =;

struct snd_opl3_drum_voice {};

struct snd_opl3_drum_note {};

static const struct snd_opl3_drum_voice bass_op0 =;
static const struct snd_opl3_drum_voice bass_op1 =;
static const struct snd_opl3_drum_note bass_note =;

static const struct snd_opl3_drum_voice hihat =;

static const struct snd_opl3_drum_voice snare =;
static const struct snd_opl3_drum_note snare_note =;

static const struct snd_opl3_drum_voice tomtom =;
static const struct snd_opl3_drum_note tomtom_note =;

static const struct snd_opl3_drum_voice cymbal =;

/*
 * set drum voice characteristics
 */
static void snd_opl3_drum_voice_set(struct snd_opl3 *opl3,
				    const struct snd_opl3_drum_voice *data)
{}

/*
 * Set drum voice pitch
 */
static void snd_opl3_drum_note_set(struct snd_opl3 *opl3,
				   const struct snd_opl3_drum_note *data)
{}

/*
 * Set drum voice volume and position
 */
static void snd_opl3_drum_vol_set(struct snd_opl3 *opl3,
				  const struct snd_opl3_drum_voice *data,
				  int vel, struct snd_midi_channel *chan)
{}

/*
 * Loads drum voices at init time
 */
void snd_opl3_load_drums(struct snd_opl3 *opl3)
{}

/*
 * Switch drum voice on or off
 */
void snd_opl3_drum_switch(struct snd_opl3 *opl3, int note, int vel, int on_off,
			  struct snd_midi_channel *chan)
{}