From 241a06586b3602962874e6d2ac09e258ad6173d2 Mon Sep 17 00:00:00 2001 From: Manuel Bachmann Date: Wed, 16 Dec 2015 20:38:03 +0100 Subject: Initial Audio plugin Signed-off-by: Manuel Bachmann --- plugins/audio/audio-alsa.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 plugins/audio/audio-alsa.h (limited to 'plugins/audio/audio-alsa.h') 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 + +#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 -- cgit 1.2.3-korg