summaryrefslogtreecommitdiff
path: root/backends/alsa/alsa-backend.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-backend.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-backend.h')
-rw-r--r--backends/alsa/alsa-backend.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/alsa/alsa-backend.h b/backends/alsa/alsa-backend.h
index 03fedf0..5fb60a1 100644
--- a/backends/alsa/alsa-backend.h
+++ b/backends/alsa/alsa-backend.h
@@ -23,6 +23,8 @@
#include <libmatemixer/matemixer.h>
#include <libmatemixer/matemixer-private.h>
+#include "alsa-types.h"
+
#define ALSA_TYPE_BACKEND \
(alsa_backend_get_type ())
#define ALSA_BACKEND(o) \
@@ -36,7 +38,6 @@
#define ALSA_BACKEND_GET_CLASS(o) \
(G_TYPE_INSTANCE_GET_CLASS ((o), ALSA_TYPE_BACKEND, AlsaBackendClass))
-typedef struct _AlsaBackend AlsaBackend;
typedef struct _AlsaBackendClass AlsaBackendClass;
typedef struct _AlsaBackendPrivate AlsaBackendPrivate;