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) | |
download | qemu-1ea879e5580f63414693655fcf0328559cdce138.zip qemu-1ea879e5580f63414693655fcf0328559cdce138.tar.gz qemu-1ea879e5580f63414693655fcf0328559cdce138.tar.bz2 |
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
@@ -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"); |