mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
use C99 initializers for all audio/*
Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
parent
1dd3e4d13d
commit
1a40d5e235
8 changed files with 56 additions and 53 deletions
|
@ -654,8 +654,10 @@ static int oss_run_in (HWVoiceIn *hw)
|
|||
int add;
|
||||
int len;
|
||||
} bufs[2] = {
|
||||
{ hw->wpos, 0 },
|
||||
{ 0, 0 }
|
||||
{.add = hw->wpos,
|
||||
.len = 0},
|
||||
{.add = 0,
|
||||
.len = 0}
|
||||
};
|
||||
|
||||
if (!dead) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue