diff options
Diffstat (limited to 'plugins/audio/audio-alsa.h')
-rw-r--r-- | plugins/audio/audio-alsa.h | 18 |
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 |