aboutsummaryrefslogtreecommitdiff
path: root/audio/wavaudio.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/wavaudio.c
parent1a40d5e23577b955265fe12a2b7b5222ec2df0f2 (diff)
downloadqemu-98f9f48ccb1276d2fc3bcf4592cc1febea796e4b.zip
qemu-98f9f48ccb1276d2fc3bcf4592cc1febea796e4b.tar.gz
qemu-98f9f48ccb1276d2fc3bcf4592cc1febea796e4b.tar.bz2
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/wavaudio.c')
-rw-r--r--audio/wavaudio.c42
1 files changed, 25 insertions, 17 deletions
diff --git a/audio/wavaudio.c b/audio/wavaudio.c
index 8d1d714..c4aa60e 100644
--- a/audio/wavaudio.c
+++ b/audio/wavaudio.c
@@ -216,22 +216,30 @@ static void wav_audio_fini (void *opaque)
}
static struct audio_option wav_options[] = {
- {.name = "FREQUENCY",
- .tag = AUD_OPT_INT,
- .valp = &conf.settings.freq,
- .descr = "Frequency"},
- {.name = "FORMAT",
- .tag = AUD_OPT_FMT,
- .valp = &conf.settings.fmt,
- .descr = "Format"},
- {.name = "DAC_FIXED_CHANNELS",
- .tag = AUD_OPT_INT,
- .valp = &conf.settings.nchannels,
- .descr = "Number of channels (1 - mono, 2 - stereo)"},
- {.name = "PATH",
- .tag = AUD_OPT_STR,
- .valp = &conf.wav_path,
- .descr = "Path to wave file"},
+ {
+ .name = "FREQUENCY",
+ .tag = AUD_OPT_INT,
+ .valp = &conf.settings.freq,
+ .descr = "Frequency"
+ },
+ {
+ .name = "FORMAT",
+ .tag = AUD_OPT_FMT,
+ .valp = &conf.settings.fmt,
+ .descr = "Format"
+ },
+ {
+ .name = "DAC_FIXED_CHANNELS",
+ .tag = AUD_OPT_INT,
+ .valp = &conf.settings.nchannels,
+ .descr = "Number of channels (1 - mono, 2 - stereo)"
+ },
+ {
+ .name = "PATH",
+ .tag = AUD_OPT_STR,
+ .valp = &conf.wav_path,
+ .descr = "Path to wave file"
+ },
{ /* End of list */ }
};
@@ -249,7 +257,7 @@ struct audio_driver wav_audio_driver = {
.options = wav_options,
.init = wav_audio_init,
.fini = wav_audio_fini,
- .pcm_ops = &wav_pcm_ops,
+ .pcm_ops = &wav_pcm_ops,
.can_be_default = 0,
.max_voices_out = 1,
.max_voices_in = 0,