aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins/audiofile_plugin.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-03-26 10:38:17 +0000
committerEric Wong <normalperson@yhbt.net>2008-03-26 10:38:17 +0000
commit7c560d047dcf648fd14cc646c9e816a6b3c6089d (patch)
treec9c845c203c4f9d0b9a91e9b34127d13e730d8ac /src/inputPlugins/audiofile_plugin.c
parent1910df96a321085410be575a0148dce586929c4b (diff)
downloadmpd-7c560d047dcf648fd14cc646c9e816a6b3c6089d.tar.gz
mpd-7c560d047dcf648fd14cc646c9e816a6b3c6089d.tar.xz
mpd-7c560d047dcf648fd14cc646c9e816a6b3c6089d.zip
audiofile_plugin: fix nasty long lines introduced in previous commit
Terminals are 80 columns and that's a hard limit, no exceptions git-svn-id: https://svn.musicpd.org/mpd/trunk@7207 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/inputPlugins/audiofile_plugin.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/inputPlugins/audiofile_plugin.c b/src/inputPlugins/audiofile_plugin.c
index 3ca9a14c3..1c94a8589 100644
--- a/src/inputPlugins/audiofile_plugin.c
+++ b/src/inputPlugins/audiofile_plugin.c
@@ -68,8 +68,10 @@ static int audiofile_decode(OutputBuffer * cb, DecoderControl * dc, char *path)
AF_SAMPFMT_TWOSCOMP, 16);
afGetVirtualSampleFormat(af_fp, AF_DEFAULT_TRACK, &fs, &bits);
dc->audioFormat.bits = (mpd_uint8)bits;
- dc->audioFormat.sampleRate = (unsigned int)afGetRate(af_fp, AF_DEFAULT_TRACK);
- dc->audioFormat.channels = (mpd_uint8)afGetVirtualChannels(af_fp, AF_DEFAULT_TRACK);
+ dc->audioFormat.sampleRate =
+ (unsigned int)afGetRate(af_fp, AF_DEFAULT_TRACK);
+ dc->audioFormat.channels =
+ (mpd_uint8)afGetVirtualChannels(af_fp, AF_DEFAULT_TRACK);
getOutputAudioFormat(&(dc->audioFormat), &(cb->audioFormat));
frame_count = afGetFrameCount(af_fp, AF_DEFAULT_TRACK);