diff options
author | malc <av1474@comtv.ru> | 2009-08-11 20:48:02 +0400 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2009-08-11 20:51:24 +0400 |
commit | 98f9f48ccb1276d2fc3bcf4592cc1febea796e4b (patch) | |
tree | 5fffa93acfc46285ef92a8d30293a53c7d35cdd0 /audio/ossaudio.c | |
parent | 1a40d5e23577b955265fe12a2b7b5222ec2df0f2 (diff) | |
download | qemu-98f9f48ccb1276d2fc3bcf4592cc1febea796e4b.tar.gz qemu-98f9f48ccb1276d2fc3bcf4592cc1febea796e4b.tar.bz2 qemu-98f9f48ccb1276d2fc3bcf4592cc1febea796e4b.zip |
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.c | 66 |
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 */ } }; |