]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Added missing files with symbols.
authorJaroslav Kysela <perex@perex.cz>
Wed, 24 Oct 2001 14:15:54 +0000 (14:15 +0000)
committerJaroslav Kysela <perex@perex.cz>
Wed, 24 Oct 2001 14:15:54 +0000 (14:15 +0000)
src/hwdep/hwdep_symbols.c [new file with mode: 0644]
src/pcm/pcm_symbols.c [new file with mode: 0644]
src/rawmidi/rawmidi_symbols.c [new file with mode: 0644]
src/seq/seq_symbols.c [new file with mode: 0644]
src/timer/timer_symbols.c [new file with mode: 0644]

diff --git a/src/hwdep/hwdep_symbols.c b/src/hwdep/hwdep_symbols.c
new file mode 100644 (file)
index 0000000..af8afbc
--- /dev/null
@@ -0,0 +1,34 @@
+/*
+ *  HwDep Symbols
+ *  Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
+ *
+ *   This library is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU Library General Public License as
+ *   published by the Free Software Foundation; either version 2 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 Library General Public License for more details.
+ *
+ *   You should have received a copy of the GNU Library General Public
+ *   License along with this library; if not, write to the Free Software
+ *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ */
+
+#ifndef PIC
+
+extern const char *_snd_module_hwdep_hw;
+
+static const char **snd_hwdep_open_objects[] = {
+       &_snd_module_hwdep_hw
+};
+       
+void *snd_hwdep_open_symbols(void)
+{
+       return (void *)snd_hwdep_open_objects[0];
+}
+
+#endif
diff --git a/src/pcm/pcm_symbols.c b/src/pcm/pcm_symbols.c
new file mode 100644 (file)
index 0000000..6f9f3d9
--- /dev/null
@@ -0,0 +1,64 @@
+/*
+ *  PCM Symbols
+ *  Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
+ *
+ *   This library is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU Library General Public License as
+ *   published by the Free Software Foundation; either version 2 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 Library General Public License for more details.
+ *
+ *   You should have received a copy of the GNU Library General Public
+ *   License along with this library; if not, write to the Free Software
+ *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ */
+
+#ifndef PIC
+
+extern const char *_snd_module_pcm_adpcm;
+extern const char *_snd_module_pcm_alaw;
+extern const char *_snd_module_pcm_copy;
+extern const char *_snd_module_pcm_file;
+extern const char *_snd_module_pcm_hooks;
+extern const char *_snd_module_pcm_hw;
+extern const char *_snd_module_pcm_linear;
+extern const char *_snd_module_pcm_meter;
+extern const char *_snd_module_pcm_mulaw;
+extern const char *_snd_module_pcm_multi;
+extern const char *_snd_module_pcm_null;
+extern const char *_snd_module_pcm_plug;
+extern const char *_snd_module_pcm_rate;
+extern const char *_snd_module_pcm_route;
+extern const char *_snd_module_pcm_share;
+extern const char *_snd_module_pcm_shm;
+
+static const char **snd_pcm_open_objects[] = {
+       &_snd_module_pcm_adpcm,
+       &_snd_module_pcm_alaw,
+       &_snd_module_pcm_copy,
+       &_snd_module_pcm_file,
+       &_snd_module_pcm_hooks,
+       &_snd_module_pcm_hw,
+       &_snd_module_pcm_linear,
+       &_snd_module_pcm_meter,
+       &_snd_module_pcm_mulaw,
+       &_snd_module_pcm_multi,
+       &_snd_module_pcm_null,
+       &_snd_module_pcm_plug,
+       &_snd_module_pcm_rate,
+       &_snd_module_pcm_route,
+       &_snd_module_pcm_share,
+       &_snd_module_pcm_shm
+};
+       
+void *snd_pcm_open_symbols(void)
+{
+       return (void *)snd_pcm_open_objects[0];
+}
+
+#endif /* !PIC */
diff --git a/src/rawmidi/rawmidi_symbols.c b/src/rawmidi/rawmidi_symbols.c
new file mode 100644 (file)
index 0000000..aca9036
--- /dev/null
@@ -0,0 +1,34 @@
+/*
+ *  RawMidi Symbols
+ *  Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
+ *
+ *   This library is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU Library General Public License as
+ *   published by the Free Software Foundation; either version 2 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 Library General Public License for more details.
+ *
+ *   You should have received a copy of the GNU Library General Public
+ *   License along with this library; if not, write to the Free Software
+ *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ */
+
+#ifndef PIC
+
+extern const char *_snd_module_rawmidi_hw;
+
+static const char **snd_rawmidi_open_objects[] = {
+       &_snd_module_rawmidi_hw
+};
+       
+void *snd_rawmidi_open_symbols(void)
+{
+       return (void *)snd_rawmidi_open_objects[0];
+}
+
+#endif /* !PIC */
diff --git a/src/seq/seq_symbols.c b/src/seq/seq_symbols.c
new file mode 100644 (file)
index 0000000..9d68abc
--- /dev/null
@@ -0,0 +1,34 @@
+/*
+ *  Sequencer Symbols
+ *  Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
+ *
+ *   This library is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU Library General Public License as
+ *   published by the Free Software Foundation; either version 2 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 Library General Public License for more details.
+ *
+ *   You should have received a copy of the GNU Library General Public
+ *   License along with this library; if not, write to the Free Software
+ *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ */
+
+#ifndef PIC
+
+extern const char *_snd_module_seq_hw;
+
+static const char **snd_seq_open_objects[] = {
+       &_snd_module_seq_hw
+};
+       
+void *snd_seq_open_symbols(void)
+{
+       return (void *)snd_seq_open_objects[0];
+}
+
+#endif /* !PIC */
diff --git a/src/timer/timer_symbols.c b/src/timer/timer_symbols.c
new file mode 100644 (file)
index 0000000..8694e14
--- /dev/null
@@ -0,0 +1,46 @@
+/*
+ *  Timer Symbols
+ *  Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
+ *
+ *   This library is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU Library General Public License as
+ *   published by the Free Software Foundation; either version 2 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 Library General Public License for more details.
+ *
+ *   You should have received a copy of the GNU Library General Public
+ *   License along with this library; if not, write to the Free Software
+ *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ */
+
+#ifndef PIC
+
+extern const char *_snd_module_timer_hw;
+
+static const char **snd_timer_open_objects[] = {
+       &_snd_module_timer_hw
+};
+       
+void *snd_timer_open_symbols(void)
+{
+       return (void *)snd_timer_open_objects[0];
+}
+
+
+extern const char *_snd_module_timer_query_hw;
+
+static const char **snd_timer_query_open_objects[] = {
+       &_snd_module_timer_query_hw
+};
+       
+void *snd_timer_query_open_symbols(void)
+{
+       return (void *)snd_timer_query_open_objects[0];
+}
+
+#endif /* !PIC */