mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
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:
parent
8b0de438d4
commit
1ea879e558
31 changed files with 139 additions and 135 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue