ALSA project - the C library reference

Loading...
Searching...
No Matches
mixer_simple.h
1/*
2 * Mixer Simple Interface - local header file
3 * Copyright (c) 2005 by Jaroslav Kysela <perex@perex.cz>
4 *
5 *
6 * This library is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU Lesser General Public License as
8 * published by the Free Software Foundation; either version 2.1 of
9 * the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 */
21
22#include "mixer_abst.h"
23
24/* make local functions really local */
25#define snd_mixer_simple_none_register \
26 snd1_mixer_simple_none_register
27#define snd_mixer_simple_basic_register \
28 snd1_mixer_simple_basic_register
29
30 int snd_mixer_simple_none_register(snd_mixer_t *mixer, struct snd_mixer_selem_regopt *options, snd_mixer_class_t **classp);
31
32#ifdef HAVE_LIBDL
33 int snd_mixer_simple_basic_register(snd_mixer_t *mixer, struct snd_mixer_selem_regopt *options, snd_mixer_class_t **classp);
34#else
35 static inline int snd_mixer_simple_basic_register(snd_mixer_t *mixer ATTRIBUTE_UNUSED,
36 struct snd_mixer_selem_regopt *options ATTRIBUTE_UNUSED,
37 snd_mixer_class_t **classp ATTRIBUTE_UNUSED)
38{
39 return -ENXIO;
40}
41#endif
snd_mixer_t
struct _snd_mixer snd_mixer_t
Definition mixer.h:48
snd_mixer_class_t
struct _snd_mixer_class snd_mixer_class_t
Definition mixer.h:50
snd_mixer_selem_regopt
Definition mixer.h:211