summaryrefslogtreecommitdiffstats
path: root/oss.c
diff options
context:
space:
mode:
Diffstat (limited to 'oss.c')
-rw-r--r--oss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/oss.c b/oss.c
index 6cae5a4..fc1d540 100644
--- a/oss.c
+++ b/oss.c
@@ -31,7 +31,7 @@ int driver_open(sa_stream_t *s) {
int f, arg, bs, r, phase, i, found, suggested;
unsigned c;
- static const int format_map[SA_PCM_FORMAT_MAX] = {
+ static const int format_map[_SA_PCM_FORMAT_MAX] = {
[SA_PCM_FORMAT_U8] = AFMT_U8,
[SA_PCM_FORMAT_ULAW] = AFMT_MU_LAW,
[SA_PCM_FORMAT_ALAW] = AFMT_A_LAW,