ALSA project - the C library reference

/usr/src/packages/BUILD/alsa-lib-1.1.2/src/mixer/mixer_simple.h

00001 /*
00002  *  Mixer Simple Interface - local header file
00003  *  Copyright (c) 2005 by Jaroslav Kysela <perex@perex.cz>
00004  *
00005  *
00006  *   This library is free software; you can redistribute it and/or modify
00007  *   it under the terms of the GNU Lesser General Public License as
00008  *   published by the Free Software Foundation; either version 2.1 of
00009  *   the License, or (at your option) any later version.
00010  *
00011  *   This program is distributed in the hope that it will be useful,
00012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *   GNU Lesser General Public License for more details.
00015  *
00016  *   You should have received a copy of the GNU Lesser General Public
00017  *   License along with this library; if not, write to the Free Software
00018  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00019  *
00020  */
00021 
00022 #include "mixer_abst.h"
00023 
00024 /* make local functions really local */
00025 #define snd_mixer_simple_none_register \
00026         snd1_mixer_simple_none_register
00027 #define snd_mixer_simple_basic_register \
00028         snd1_mixer_simple_basic_register
00029 
00030 int snd_mixer_simple_none_register(snd_mixer_t *mixer, struct snd_mixer_selem_regopt *options, snd_mixer_class_t **classp);
00031 
00032 #ifdef HAVE_LIBDL
00033 int snd_mixer_simple_basic_register(snd_mixer_t *mixer, struct snd_mixer_selem_regopt *options, snd_mixer_class_t **classp);
00034 #else
00035 static inline int snd_mixer_simple_basic_register(snd_mixer_t *mixer ATTRIBUTE_UNUSED,
00036                                                   struct snd_mixer_selem_regopt *options ATTRIBUTE_UNUSED,
00037                                                   snd_mixer_class_t **classp ATTRIBUTE_UNUSED)
00038 {
00039         return -ENXIO;
00040 }
00041 #endif
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines