Initial Audio plugin
[src/app-framework-binder.git] / plugins / audio / audio-alsa.h
1 #ifndef AUDIO_ALSA_H
2 #define AUDIO_ALSA_H
3
4 #include <alsa/asoundlib.h>
5
6 #include "local-def.h"
7
8 typedef struct dev_ctx dev_ctx_T;
9
10 struct dev_ctx {
11   char *name;
12   snd_pcm_t *dev;
13   snd_pcm_hw_params_t *params;
14 };
15
16 static struct dev_ctx **dev_ctx = NULL;
17
18 #endif /* AUDIO_ALSA_H */