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 /audio/mixeng.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 'audio/mixeng.c')
-rw-r--r-- | audio/mixeng.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/mixeng.c b/audio/mixeng.c index 5e0426c..8ce942e 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)); } |