summaryrefslogtreecommitdiff
path: root/backends/alsa/alsa-element.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-element.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-element.h')
-rw-r--r--backends/alsa/alsa-element.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/alsa/alsa-element.h b/backends/alsa/alsa-element.h
index 1c30f68..4c37f12 100644
--- a/backends/alsa/alsa-element.h
+++ b/backends/alsa/alsa-element.h
@@ -22,6 +22,8 @@
#include <glib-object.h>
#include <alsa/asoundlib.h>
+#include "alsa-types.h"
+
G_BEGIN_DECLS
#define ALSA_TYPE_ELEMENT \
@@ -33,7 +35,6 @@ G_BEGIN_DECLS
#define ALSA_ELEMENT_GET_INTERFACE(o) \
(G_TYPE_INSTANCE_GET_INTERFACE ((o), ALSA_TYPE_ELEMENT, AlsaElementInterface))
-typedef struct _AlsaElement AlsaElement; /* dummy object */
typedef struct _AlsaElementInterface AlsaElementInterface;
struct _AlsaElementInterface