diff options
Diffstat (limited to 'audio/out/ao_sndio.c')
-rw-r--r-- | audio/out/ao_sndio.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/audio/out/ao_sndio.c b/audio/out/ao_sndio.c index 6afe0f9eaf..c528d5729d 100644 --- a/audio/out/ao_sndio.c +++ b/audio/out/ao_sndio.c @@ -111,7 +111,8 @@ static int init(struct ao *ao) struct af_to_par { int format, bits, sig; - } static const af_to_par[] = { + }; + static const struct af_to_par af_to_par[] = { {AF_FORMAT_U8, 8, 0}, {AF_FORMAT_S8, 8, 1}, {AF_FORMAT_U16, 16, 0}, @@ -120,7 +121,8 @@ static int init(struct ao *ao) {AF_FORMAT_S24, 24, 1}, {AF_FORMAT_U32, 32, 0}, {AF_FORMAT_S32, 32, 1}, - }, *ap; + }; + const struct af_to_par *ap; int i; p->hdl = sio_open(p->dev, SIO_PLAY, 1); |