Blame src/mixer/mixer_simple.h

Packit 4a16fb
/*
Packit 4a16fb
 *  Mixer Simple Interface - local header file
Packit 4a16fb
 *  Copyright (c) 2005 by Jaroslav Kysela <perex@perex.cz>
Packit 4a16fb
 *
Packit 4a16fb
 *
Packit 4a16fb
 *   This library is free software; you can redistribute it and/or modify
Packit 4a16fb
 *   it under the terms of the GNU Lesser General Public License as
Packit 4a16fb
 *   published by the Free Software Foundation; either version 2.1 of
Packit 4a16fb
 *   the License, or (at your option) any later version.
Packit 4a16fb
 *
Packit 4a16fb
 *   This program is distributed in the hope that it will be useful,
Packit 4a16fb
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 4a16fb
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 4a16fb
 *   GNU Lesser General Public License for more details.
Packit 4a16fb
 *
Packit 4a16fb
 *   You should have received a copy of the GNU Lesser General Public
Packit 4a16fb
 *   License along with this library; if not, write to the Free Software
Packit 4a16fb
 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
Packit 4a16fb
 *
Packit 4a16fb
 */
Packit 4a16fb
Packit 4a16fb
#include "mixer_abst.h"
Packit 4a16fb
Packit 4a16fb
/* make local functions really local */
Packit 4a16fb
#define snd_mixer_simple_none_register \
Packit 4a16fb
	snd1_mixer_simple_none_register
Packit 4a16fb
#define snd_mixer_simple_basic_register \
Packit 4a16fb
	snd1_mixer_simple_basic_register
Packit 4a16fb
Packit 4a16fb
int snd_mixer_simple_none_register(snd_mixer_t *mixer, struct snd_mixer_selem_regopt *options, snd_mixer_class_t **classp);
Packit 4a16fb
Packit 4a16fb
#ifdef HAVE_LIBDL
Packit 4a16fb
int snd_mixer_simple_basic_register(snd_mixer_t *mixer, struct snd_mixer_selem_regopt *options, snd_mixer_class_t **classp);
Packit 4a16fb
#else
Packit 4a16fb
static inline int snd_mixer_simple_basic_register(snd_mixer_t *mixer ATTRIBUTE_UNUSED,
Packit 4a16fb
						  struct snd_mixer_selem_regopt *options ATTRIBUTE_UNUSED,
Packit 4a16fb
						  snd_mixer_class_t **classp ATTRIBUTE_UNUSED)
Packit 4a16fb
{
Packit 4a16fb
	return -ENXIO;
Packit 4a16fb
}
Packit 4a16fb
#endif