summaryrefslogtreecommitdiff
path: root/backends/alsa/alsa-types.h
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2014-11-08 22:18:34 +0100
committerMichal Ratajsky <[email protected]>2014-11-08 22:18:34 +0100
commit068d95e1c28b0e20e692c5ecb24f044542e82ae9 (patch)
tree5be0c066ba9d6ce605c4b82e8e0ae2ec8c00bb9c /backends/alsa/alsa-types.h
parente72c6f834323e65a41f2ab50047d6fd98f1e09db (diff)
downloadlibmatemixer-068d95e1c28b0e20e692c5ecb24f044542e82ae9.tar.bz2
libmatemixer-068d95e1c28b0e20e692c5ecb24f044542e82ae9.tar.xz
alsa: Use MateMixerStreamSwitch
Also introduce alsa-types.h and move instance typedefs there to fix cross referencing introduced by this change
Diffstat (limited to 'backends/alsa/alsa-types.h')
-rw-r--r--backends/alsa/alsa-types.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/backends/alsa/alsa-types.h b/backends/alsa/alsa-types.h
new file mode 100644
index 0000000..0c7f4dd
--- /dev/null
+++ b/backends/alsa/alsa-types.h
@@ -0,0 +1,36 @@
+/*
+ * Copyright (C) 2014 Michal Ratajsky <[email protected]>
+ *
+ * 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 of the licence, or (at your option) any later version.
+ *
+ * This library 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, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef ALSA_TYPES_H
+#define ALSA_TYPES_H
+
+G_BEGIN_DECLS
+
+typedef struct _AlsaBackend AlsaBackend;
+typedef struct _AlsaDevice AlsaDevice;
+typedef struct _AlsaElement AlsaElement;
+typedef struct _AlsaStream AlsaStream;
+typedef struct _AlsaStreamControl AlsaStreamControl;
+typedef struct _AlsaStreamInputControl AlsaStreamInputControl;
+typedef struct _AlsaStreamOutputControl AlsaStreamOutputControl;
+typedef struct _AlsaSwitch AlsaSwitch;
+typedef struct _AlsaSwitchOption AlsaSwitchOption;
+typedef struct _AlsaToggle AlsaToggle;
+
+G_END_DECLS
+
+#endif /* ALSA_TYPES_H */