All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
mixer_simple.h
/*
* Mixer Simple Interface - local header file
* Copyright (c) 2005 by Jaroslav Kysela <perex@perex.cz>
*
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#include "mixer_abst.h"
/* make local functions really local */
#define snd_mixer_simple_none_register \
snd1_mixer_simple_none_register
#define snd_mixer_simple_basic_register \
snd1_mixer_simple_basic_register
int snd_mixer_simple_none_register(snd_mixer_t *mixer, struct snd_mixer_selem_regopt *options, snd_mixer_class_t **classp);
#ifdef HAVE_LIBDL
int snd_mixer_simple_basic_register(snd_mixer_t *mixer, struct snd_mixer_selem_regopt *options, snd_mixer_class_t **classp);
#else
static inline int snd_mixer_simple_basic_register(snd_mixer_t *mixer ATTRIBUTE_UNUSED,
struct snd_mixer_selem_regopt *options ATTRIBUTE_UNUSED,
snd_mixer_class_t **classp ATTRIBUTE_UNUSED)
{
return -ENXIO;
}
#endif
snd_mixer_class_t
struct _snd_mixer_class snd_mixer_class_t
Definition: mixer.h:44
snd_mixer_simple_basic_register
int snd_mixer_simple_basic_register(snd_mixer_t *mixer, struct snd_mixer_selem_regopt *options, snd_mixer_class_t **classp)
Register mixer simple element class - basic abstraction.
Definition: simple_abst.c:271
snd_mixer_selem_regopt
Definition: mixer.h:205
snd_mixer_t
struct _snd_mixer snd_mixer_t
Definition: mixer.h:42
snd_mixer_simple_none_register
int snd_mixer_simple_none_register(snd_mixer_t *mixer, struct snd_mixer_selem_regopt *options, snd_mixer_class_t **classp)
Register mixer simple element class - none abstraction.
Definition: simple_none.c:1715