aboutsummaryrefslogtreecommitdiff
path: root/hw/sb16.c
diff options
context:
space:
mode:
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-03 22:48:44 +0000
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-03 22:48:44 +0000
commit1ea879e5580f63414693655fcf0328559cdce138 (patch)
tree45f2e4d57a73fd269004d1a32aeb450ad4881c13 /hw/sb16.c
parent8b0de438d4c814fc2d7d1330a146a2e1cb8877b2 (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/sb16.c')
-rw-r--r--hw/sb16.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/sb16.c b/hw/sb16.c
index c22de7a715..8a0fafe63f 100644
--- a/hw/sb16.c
+++ b/hw/sb16.c
@@ -201,7 +201,7 @@ static void aux_timer (void *opaque)
static void continue_dma8 (SB16State *s)
{
if (s->freq > 0) {
- audsettings_t as;
+ struct audsettings as;
s->audio_free = 0;
@@ -346,7 +346,7 @@ static void dma_cmd (SB16State *s, uint8_t cmd, uint8_t d0, int dma_len)
}
if (s->freq) {
- audsettings_t as;
+ struct audsettings as;
s->audio_free = 0;
@@ -833,7 +833,7 @@ static void complete (SB16State *s)
static void legacy_reset (SB16State *s)
{
- audsettings_t as;
+ struct audsettings as;
s->freq = 11025;
s->fmt_signed = 0;
@@ -1375,7 +1375,7 @@ static int SB_load (QEMUFile *f, void *opaque, int version_id)
if (s->dma_running) {
if (s->freq) {
- audsettings_t as;
+ struct audsettings as;
s->audio_free = 0;