Fixed bad SE volume limit in sceAttrac.

This commit is contained in:
bagnz0r 2013-07-07 00:15:26 +02:00
parent f3f2c80f4c
commit 35d70af3ab

View File

@ -623,7 +623,7 @@ u32 _AtracDecodeData(int atracID, u8* outbuf, u32 *SamplesNum, u32* finish, int
atrac->sampleQueue.push(buf, decodebytes);
}
}
const int MAX_CONFIG_VOLUME = 5;
const int MAX_CONFIG_VOLUME = 8;
s16* out = (s16*)outbuf;
memset(out, 0, ATRAC3PLUS_MAX_SAMPLES * sizeof(s16) * atrac->atracOutputChannels);
int gotsize = atrac->sampleQueue.pop_front(buf, ATRAC3PLUS_MAX_SAMPLES * sizeof(s16) * atrac->atracChannels);