switch to C99 types, part II
Do full C99 integer type conversion in all modules which were not touched by Eric's merged patch.
This commit is contained in:
@@ -153,7 +153,7 @@ static int shout_mp3_encoder_encode(struct shout_data *sd,
|
||||
|
||||
for (i = 0; i < samples; i++) {
|
||||
for (j = 0; j < sd->audio_format.channels; j++) {
|
||||
lamebuf[j][i] = *((const mpd_sint16 *) chunk);
|
||||
lamebuf[j][i] = *((const int16_t *) chunk);
|
||||
chunk += bytes;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user