diff options
author | Max Kellermann <max@duempel.org> | 2008-09-29 15:49:29 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-29 15:49:29 +0200 |
commit | 226d52b36fe648215f367d352ad6e5eb38e116be (patch) | |
tree | a8dc789a0f3585b07da36f952a69ff554a1bf999 /src/audioOutputs/audioOutput_shout_ogg.c | |
parent | 0352766dca3da5266e4714124fea119be82c4188 (diff) | |
download | mpd-226d52b36fe648215f367d352ad6e5eb38e116be.tar.gz mpd-226d52b36fe648215f367d352ad6e5eb38e116be.tar.xz mpd-226d52b36fe648215f367d352ad6e5eb38e116be.zip |
switch to C99 types, part II
Do full C99 integer type conversion in all modules which were not
touched by Eric's merged patch.
Diffstat (limited to 'src/audioOutputs/audioOutput_shout_ogg.c')
-rw-r--r-- | src/audioOutputs/audioOutput_shout_ogg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audioOutputs/audioOutput_shout_ogg.c b/src/audioOutputs/audioOutput_shout_ogg.c index d8627a007..aa96c4032 100644 --- a/src/audioOutputs/audioOutput_shout_ogg.c +++ b/src/audioOutputs/audioOutput_shout_ogg.c @@ -267,7 +267,7 @@ static int shout_ogg_encoder_encode(struct shout_data *sd, for (i = 0; i < samples; i++) { for (j = 0; j < sd->audio_format.channels; j++) { - vorbbuf[j][i] = (*((const mpd_sint16 *) chunk)) / 32768.0; + vorbbuf[j][i] = (*((const int16_t *) chunk)) / 32768.0; chunk += bytes; } } |