Make audio violate POSIX less

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5864 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
malc 2008-12-03 22:48:44 +00:00
parent 8b0de438d4
commit 1ea879e558
31 changed files with 139 additions and 135 deletions

View file

@ -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));
}