summaryrefslogtreecommitdiffstats
path: root/plugins/alsa/alsa-softmixer.h
diff options
context:
space:
mode:
authorfulup <fulup.arfoll@iot.bzh>2018-05-14 19:59:22 +0200
committerfulup <fulup.arfoll@iot.bzh>2018-05-14 20:02:32 +0200
commit9f62093c6d4bf084f0e2aac9da60b3020927e938 (patch)
tree7672c83c7b608ef29927d42c2abbd46bbda42a9b /plugins/alsa/alsa-softmixer.h
parent36f8b0e393f8407efa79f383a58e10613d18e959 (diff)
Move to new Romain controller version
Diffstat (limited to 'plugins/alsa/alsa-softmixer.h')
-rw-r--r--plugins/alsa/alsa-softmixer.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/plugins/alsa/alsa-softmixer.h b/plugins/alsa/alsa-softmixer.h
index 3018402..c5f6305 100644
--- a/plugins/alsa/alsa-softmixer.h
+++ b/plugins/alsa/alsa-softmixer.h
@@ -32,6 +32,13 @@
#include <alsa/asoundlib.h>
+#ifndef PUBLIC
+#define PUBLIC
+#endif
+#ifndef STATIC
+#define STATIC static
+#endif
+
#define MAINLOOP_WATCHDOG 30000
#define MAX_AUDIO_STREAMS 8*2
#define ALSA_DEFAULT_PCM_RATE 48000
@@ -43,7 +50,12 @@
#define ALSA_PLUG_PROTO(plugin) \
int _snd_pcm_ ## plugin ## _open(snd_pcm_t **pcmp, const char *name, snd_config_t *root, snd_config_t *conf, snd_pcm_stream_t stream, int mode)
-
+#ifndef PUBLIC
+#define PUBLIC
+#endif
+#ifndef STATIC
+#define STATIC static
+#endif
// alsa-utils-bypath.c