linux/sound/isa/msnd/msnd_pinnacle_mixer.c

// SPDX-License-Identifier: GPL-2.0-or-later
/***************************************************************************
			  msnd_pinnacle_mixer.c  -  description
			     -------------------
    begin		: Fre Jun 7 2002
    copyright 		: (C) 2002 by karsten wiese
    email		: [email protected]
 ***************************************************************************/

/***************************************************************************
 *							      		   *
 *									   *
 ***************************************************************************/

#include <linux/io.h>
#include <linux/export.h>

#include <sound/core.h>
#include <sound/control.h>
#include "msnd.h"
#include "msnd_pinnacle.h"


#define MSND_MIXER_VOLUME
#define MSND_MIXER_PCM
#define MSND_MIXER_AUX
#define MSND_MIXER_IMIX
#define MSND_MIXER_SYNTH
#define MSND_MIXER_SPEAKER
#define MSND_MIXER_LINE
#define MSND_MIXER_MIC
#define MSND_MIXER_RECLEV
#define MSND_MIXER_IGAIN
#define MSND_MIXER_OGAIN
#define MSND_MIXER_DIGITAL

/*	Device mask bits	*/

#define MSND_MASK_VOLUME
#define MSND_MASK_SYNTH
#define MSND_MASK_PCM
#define MSND_MASK_SPEAKER
#define MSND_MASK_LINE
#define MSND_MASK_MIC
#define MSND_MASK_IMIX
#define MSND_MASK_RECLEV
#define MSND_MASK_IGAIN
#define MSND_MASK_OGAIN
#define MSND_MASK_AUX
#define MSND_MASK_DIGITAL

static int snd_msndmix_info_mux(struct snd_kcontrol *kcontrol,
				struct snd_ctl_elem_info *uinfo)
{}

static int snd_msndmix_get_mux(struct snd_kcontrol *kcontrol,
				struct snd_ctl_elem_value *ucontrol)
{}

static int snd_msndmix_set_mux(struct snd_msnd *chip, int val)
{}

static int snd_msndmix_put_mux(struct snd_kcontrol *kcontrol,
				struct snd_ctl_elem_value *ucontrol)
{}


static int snd_msndmix_volume_info(struct snd_kcontrol *kcontrol,
				   struct snd_ctl_elem_info *uinfo)
{}

static int snd_msndmix_volume_get(struct snd_kcontrol *kcontrol,
				  struct snd_ctl_elem_value *ucontrol)
{}

#define update_volm(a, b)

#define update_potm(d, s, ar)

#define update_pot(d, s, ar)


static int snd_msndmix_set(struct snd_msnd *dev, int d, int left, int right)
{}

static int snd_msndmix_volume_put(struct snd_kcontrol *kcontrol,
				  struct snd_ctl_elem_value *ucontrol)
{}


#define DUMMY_VOLUME(xname, xindex, addr)


static const struct snd_kcontrol_new snd_msnd_controls[] =;


int snd_msndmix_new(struct snd_card *card)
{}
EXPORT_SYMBOL();

void snd_msndmix_setup(struct snd_msnd *dev)
{}
EXPORT_SYMBOL();

int snd_msndmix_force_recsrc(struct snd_msnd *dev, int recsrc)
{}
EXPORT_SYMBOL();