mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-12-01 01:27:20 +01:00
.XXX from Drag-On Dragoon 3 (PS3) is scd, but has 48khz MPEG with srate 47999
This commit is contained in:
parent
9fc46bd877
commit
43866fd9ed
@ -175,6 +175,9 @@ VGMSTREAM * init_vgmstream_sqex_scd(STREAMFILE *streamFile) {
|
||||
struct mpg123_frameinfo mi;
|
||||
coding_t ct;
|
||||
|
||||
if (vgmstream->sample_rate == 47999)
|
||||
vgmstream->sample_rate = 48000;
|
||||
|
||||
mpeg_data = init_mpeg_codec_data(streamFile, start_offset, vgmstream->sample_rate, vgmstream->channels, &ct, NULL, NULL);
|
||||
if (!mpeg_data) goto fail;
|
||||
vgmstream->codec_data = mpeg_data;
|
||||
|
Loading…
Reference in New Issue
Block a user