summaryrefslogtreecommitdiff
path: root/src/mixer/mixer_symbols.c
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2009-05-12 08:05:50 +0200
committerJaroslav Kysela <perex@perex.cz>2009-05-15 14:18:15 +0200
commitecd6846c88d24f2a03895115b8ebf50679af69f3 (patch)
tree6880963798e200e7dcc3ef962e0149434bf709b1 /src/mixer/mixer_symbols.c
parent3e30007a19a0904ad7c8965b0883322639e52b82 (diff)
downloadalsa-lib-ecd6846c88d24f2a03895115b8ebf50679af69f3.tar.gz
Initial amixer implementation + ctl & hctl API mergingamixer
This patch adds new mixer API which simplifies the previous mixer API (removed mixer class). The control and hcontrol APIs were merged into one. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'src/mixer/mixer_symbols.c')
-rw-r--r--src/mixer/mixer_symbols.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/mixer/mixer_symbols.c b/src/mixer/mixer_symbols.c
new file mode 100644
index 00000000..29af4c0e
--- /dev/null
+++ b/src/mixer/mixer_symbols.c
@@ -0,0 +1,36 @@
+/*
+ * Mixer Symbols
+ * Copyright (c) 2009 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
+ *
+ */
+
+#ifndef PIC
+
+#include "config.h"
+
+extern const char *_snd_module_mixer_none;
+
+static const char **snd_pcm_open_objects[] = {
+ &_snd_module_mixer_none,
+};
+
+void *snd_mixer_open_symbols(void)
+{
+ return snd_mixer_open_objects;
+}
+
+#endif /* !PIC */