summaryrefslogtreecommitdiffstats
path: root/plugins/audio/audio-alsa.h
blob: a85f419d0d79b0e9c9a616cfd4bb79cbee29cd65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 */