aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2006-12-23 15:13:19 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2006-12-23 15:13:19 +0000
commitf158016d0e2a54a4694ad4624a5ba35eae49a3b9 (patch)
tree8b5c171581ffb6d2e882be3ae6354f50bce8f7cf /src/inputPlugins
parent5da19e5f788be65b3516524823ee23621a897216 (diff)
downloadmpd-f158016d0e2a54a4694ad4624a5ba35eae49a3b9.tar.gz
mpd-f158016d0e2a54a4694ad4624a5ba35eae49a3b9.tar.xz
mpd-f158016d0e2a54a4694ad4624a5ba35eae49a3b9.zip
Cleaning up some damn near unreadable wrapping caused by indent.
git-svn-id: https://svn.musicpd.org/mpd/trunk@5148 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/inputPlugins')
-rw-r--r--src/inputPlugins/mp3_plugin.c33
1 files changed, 8 insertions, 25 deletions
diff --git a/src/inputPlugins/mp3_plugin.c b/src/inputPlugins/mp3_plugin.c
index b20118da4..9434489bc 100644
--- a/src/inputPlugins/mp3_plugin.c
+++ b/src/inputPlugins/mp3_plugin.c
@@ -850,26 +850,15 @@ static int mp3Read(mp3DecodeData * data, OutputBuffer * cb, DecoderControl * dc,
sample = (mpd_sint16 *) data->outputPtr;
*sample = (mpd_sint16) audio_linear_dither(16,
- (data->
- synth).pcm.
- samples[0]
- [i],
- &(data->
- dither));
+ (data->synth).pcm.samples[0][i],
+ &(data->dither));
data->outputPtr += 2;
if (MAD_NCHANNELS(&(data->frame).header) == 2) {
sample = (mpd_sint16 *) data->outputPtr;
*sample = (mpd_sint16) audio_linear_dither(16,
- (data->
- synth).
- pcm.
- samples
- [1]
- [i],
- &
- (data->
- dither));
+ (data->synth).pcm.samples[1][i],
+ &(data->dither));
data->outputPtr += 2;
}
@@ -878,18 +867,12 @@ static int mp3Read(mp3DecodeData * data, OutputBuffer * cb, DecoderControl * dc,
ret = sendDataToOutputBuffer(cb,
data->inStream,
dc,
- data->inStream->
- seekable,
- data->outputBuffer,
- data->outputPtr -
+ data->inStream->seekable,
data->outputBuffer,
+ data->outputPtr - data->outputBuffer,
data->elapsedTime,
- data->bitRate /
- 1000,
- (replayGainInfo !=
- NULL) ?
- *replayGainInfo :
- NULL);
+ data->bitRate / 1000,
+ (replayGainInfo != NULL) ? *replayGainInfo : NULL);
if (ret == OUTPUT_BUFFER_DC_STOP) {
data->flush = 0;
return DECODE_BREAK;