diff options
Diffstat (limited to 'oss.c')
-rw-r--r-- | oss.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |