aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/audio/audio-alsa.h
diff options
context:
space:
mode:
authorManuel Bachmann <manuel.bachmann@iot.bzh>2015-12-16 20:38:03 +0100
committerManuel Bachmann <manuel.bachmann@iot.bzh>2015-12-16 20:38:49 +0100
commit241a06586b3602962874e6d2ac09e258ad6173d2 (patch)
tree20aab5fb5c5efa3516b9579256fc0652a83475af /plugins/audio/audio-alsa.h
parent785a37416c58fb6f86d3d89cbff240ce9f2d7e74 (diff)
Initial Audio plugin
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
Diffstat (limited to 'plugins/audio/audio-alsa.h')
-rw-r--r--plugins/audio/audio-alsa.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/plugins/audio/audio-alsa.h b/plugins/audio/audio-alsa.h
new file mode 100644
index 00000000..a85f419d
--- /dev/null
+++ b/plugins/audio/audio-alsa.h
@@ -0,0 +1,18 @@
+#ifndef AUDIO_ALSA_H
+#define AUDIO_ALSA_H
+
+#include <alsa/asoundlib.h>
+
+#include "local-def.h"
+
+typedef struct dev_ctx dev_ctx_T;
+
+struct dev_ctx {
+ char *name;
+ snd_pcm_t *dev;
+ snd_pcm_hw_params_t *params;
+};
+
+static struct dev_ctx **dev_ctx = NULL;
+
+#endif /* AUDIO_ALSA_H */ \ No newline at end of file