From 1ea879e5580f63414693655fcf0328559cdce138 Mon Sep 17 00:00:00 2001 From: malc Date: Wed, 3 Dec 2008 22:48:44 +0000 Subject: Make audio violate POSIX less git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5864 c046a42c-6fe2-441c-8c8c-71466251a162 --- audio/mixeng.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'audio/mixeng.c') diff --git a/audio/mixeng.c b/audio/mixeng.c index 5e0426cb6d..8ce942e49b 100644 --- a/audio/mixeng.c +++ b/audio/mixeng.c @@ -290,7 +290,7 @@ struct rate { uint64_t opos; uint64_t opos_inc; uint32_t ipos; /* position in the input stream (integer) */ - st_sample_t ilast; /* last sample in the input stream */ + struct st_sample ilast; /* last sample in the input stream */ }; /* @@ -329,7 +329,7 @@ void st_rate_stop (void *opaque) qemu_free (opaque); } -void mixeng_clear (st_sample_t *buf, int len) +void mixeng_clear (struct st_sample *buf, int len) { - memset (buf, 0, len * sizeof (st_sample_t)); + memset (buf, 0, len * sizeof (struct st_sample)); } -- cgit v1.2.1