Blame src/mixer/mixer_simple.h

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