summaryrefslogtreecommitdiff
path: root/audio/ossaudio.c
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-08-11 20:48:02 +0400
committermalc <av1474@comtv.ru>2009-08-11 20:51:24 +0400
commit98f9f48ccb1276d2fc3bcf4592cc1febea796e4b (patch)
tree5fffa93acfc46285ef92a8d30293a53c7d35cdd0 /audio/ossaudio.c
parent1a40d5e23577b955265fe12a2b7b5222ec2df0f2 (diff)
downloadqemu-98f9f48ccb1276d2fc3bcf4592cc1febea796e4b.tar.gz
Aesthetics
Reformat to make item borders more visible Fix cases of stray tabs and vertical misalignments Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'audio/ossaudio.c')
-rw-r--r--audio/ossaudio.c66
1 files changed, 38 insertions, 28 deletions
diff --git a/audio/ossaudio.c b/audio/ossaudio.c
index bda275661b..18152b535c 100644
--- a/audio/ossaudio.c
+++ b/audio/ossaudio.c
@@ -654,10 +654,8 @@ static int oss_run_in (HWVoiceIn *hw)
int add;
int len;
} bufs[2] = {
- {.add = hw->wpos,
- .len = 0},
- {.add = 0,
- .len = 0}
+ { .add = hw->wpos, .len = 0 },
+ { .add = 0, .len = 0 }
};
if (!dead) {
@@ -738,30 +736,42 @@ static void oss_audio_fini (void *opaque)
}
static struct audio_option oss_options[] = {
- {.name = "FRAGSIZE",
- .tag = AUD_OPT_INT,
- .valp = &conf.fragsize,
- .descr = "Fragment size in bytes"},
- {.name = "NFRAGS",
- .tag = AUD_OPT_INT,
- .valp = &conf.nfrags,
- .descr = "Number of fragments"},
- {.name = "MMAP",
- .tag = AUD_OPT_BOOL,
- .valp = &conf.try_mmap,
- .descr = "Try using memory mapped access"},
- {.name = "DAC_DEV",
- .tag = AUD_OPT_STR,
- .valp = &conf.devpath_out,
- .descr = "Path to DAC device"},
- {.name = "ADC_DEV",
- .tag = AUD_OPT_STR,
- .valp = &conf.devpath_in,
- .descr = "Path to ADC device"},
- {.name = "DEBUG",
- .tag = AUD_OPT_BOOL,
- .valp = &conf.debug,
- .descr = "Turn on some debugging messages"},
+ {
+ .name = "FRAGSIZE",
+ .tag = AUD_OPT_INT,
+ .valp = &conf.fragsize,
+ .descr = "Fragment size in bytes"
+ },
+ {
+ .name = "NFRAGS",
+ .tag = AUD_OPT_INT,
+ .valp = &conf.nfrags,
+ .descr = "Number of fragments"
+ },
+ {
+ .name = "MMAP",
+ .tag = AUD_OPT_BOOL,
+ .valp = &conf.try_mmap,
+ .descr = "Try using memory mapped access"
+ },
+ {
+ .name = "DAC_DEV",
+ .tag = AUD_OPT_STR,
+ .valp = &conf.devpath_out,
+ .descr = "Path to DAC device"
+ },
+ {
+ .name = "ADC_DEV",
+ .tag = AUD_OPT_STR,
+ .valp = &conf.devpath_in,
+ .descr = "Path to ADC device"
+ },
+ {
+ .name = "DEBUG",
+ .tag = AUD_OPT_BOOL,
+ .valp = &conf.debug,
+ .descr = "Turn on some debugging messages"
+ },
{ /* End of list */ }
};