aboutsummaryrefslogtreecommitdiff
path: root/hw/audio/gus.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/audio/gus.c')
-rw-r--r--hw/audio/gus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/audio/gus.c b/hw/audio/gus.c
index 8e0b27e..b3e2a7f 100644
--- a/hw/audio/gus.c
+++ b/hw/audio/gus.c
@@ -251,7 +251,7 @@ static void gus_realizefn (DeviceState *dev, Error **errp)
as.freq = s->freq;
as.nchannels = 2;
- as.fmt = AUD_FMT_S16;
+ as.fmt = AUDIO_FORMAT_S16;
as.endianness = GUS_ENDIANNESS;
s->voice = AUD_open_out (