Fix sample rate of EA swvr

I am afraid this may depend on games, but for Future Cop LAPD, recorded
voices must be decoded with a sample rate of 22050, not 16000.
This commit is contained in:
Jean Guyomarc'h 2022-06-06 15:10:47 +02:00
parent f696beb0c4
commit 13fd8969c7

View File

@ -122,7 +122,7 @@ VGMSTREAM* init_vgmstream_ea_swvr(STREAMFILE* sf) {
goto fail;
coding = coding_PCM8_U_int;
channels = 1;
sample_rate = 16000; /* assumed */
sample_rate = 22050; /* assumed */
}
else {
//todo