mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-19 16:08:40 +01:00
Fix segments not using highest sample rate as base
This commit is contained in:
parent
86be2b74ad
commit
89b13c8e07
@ -336,7 +336,7 @@ VGMSTREAM* allocate_segmented_vgmstream(segmented_layout_data* data, int loop_fl
|
||||
if (!vgmstream) goto fail;
|
||||
|
||||
vgmstream->meta_type = data->segments[0]->meta_type;
|
||||
vgmstream->sample_rate = data->segments[0]->sample_rate;
|
||||
vgmstream->sample_rate = sample_rate;
|
||||
vgmstream->num_samples = num_samples;
|
||||
vgmstream->loop_start_sample = loop_start;
|
||||
vgmstream->loop_end_sample = loop_end;
|
||||
|
Loading…
x
Reference in New Issue
Block a user