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