diff options
author | malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-03 22:48:44 +0000 |
---|---|---|
committer | malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-03 22:48:44 +0000 |
commit | 1ea879e5580f63414693655fcf0328559cdce138 (patch) | |
tree | 45f2e4d57a73fd269004d1a32aeb450ad4881c13 /hw/pcspk.c | |
parent | 8b0de438d4c814fc2d7d1330a146a2e1cb8877b2 (diff) |
Make audio violate POSIX less
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5864 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pcspk.c')
-rw-r--r-- | hw/pcspk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pcspk.c b/hw/pcspk.c index 9bb248b807..ec1d0c687c 100644 --- a/hw/pcspk.c +++ b/hw/pcspk.c @@ -99,7 +99,7 @@ static void pcspk_callback(void *opaque, int free) int pcspk_audio_init(AudioState *audio, qemu_irq *pic) { PCSpkState *s = &pcspk_state; - audsettings_t as = {PCSPK_SAMPLE_RATE, 1, AUD_FMT_U8, 0}; + struct audsettings as = {PCSPK_SAMPLE_RATE, 1, AUD_FMT_U8, 0}; if (!audio) { AUD_log(s_spk, "No audio state\n"); |