mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-17 11:18:31 +01:00
Merge pull request #1624 from bnnm/misc-raki-ogg
- Fix some play settings not working in groups - Add some .ogg loops [Kamaitachi no Yoru 2 (PS2)] - Fix some .ckd [Rayman Legends (XONE)]
This commit is contained in:
commit
02d3c3f875
@ -181,6 +181,7 @@ static void play_op_trim(VGMSTREAM* vgmstream, sbuf_t* sbuf) {
|
|||||||
if (to_do > buf_samples)
|
if (to_do > buf_samples)
|
||||||
to_do = buf_samples;
|
to_do = buf_samples;
|
||||||
|
|
||||||
|
sbuf_tmp.filled = 0;
|
||||||
sbuf_tmp.samples = to_do;
|
sbuf_tmp.samples = to_do;
|
||||||
int done = render_layout(&sbuf_tmp, vgmstream);
|
int done = render_layout(&sbuf_tmp, vgmstream);
|
||||||
/* no mixing */
|
/* no mixing */
|
||||||
|
@ -739,6 +739,11 @@ static VGMSTREAM* _init_vgmstream_ogg_vorbis_config(STREAMFILE* sf, off_t start,
|
|||||||
loop_end_found = 1;
|
loop_end_found = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (strstr(comment,"L=") == comment) { /* Kamaitachi no Yoru 2 (PS2) */
|
||||||
|
//sscanf(strrchr(comment,'=')+1,"%d", &loop_start);
|
||||||
|
loop_start = atol(strrchr(comment,'=')+1);
|
||||||
|
loop_flag = 1;
|
||||||
|
}
|
||||||
|
|
||||||
/* Hatsune Miku Project DIVA games, though only 'Arcade Future Tone' has >4ch files
|
/* Hatsune Miku Project DIVA games, though only 'Arcade Future Tone' has >4ch files
|
||||||
* ENCODER tag is common but ogg_vorbis_encode looks unique enough
|
* ENCODER tag is common but ogg_vorbis_encode looks unique enough
|
||||||
|
@ -183,7 +183,8 @@ VGMSTREAM* init_vgmstream_ubi_raki(STREAMFILE* sf) {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef VGM_USE_FFMPEG
|
#ifdef VGM_USE_FFMPEG
|
||||||
case 0x58333630786D6132: { /* "X360xma2" */
|
case 0x58333630786D6132: /* "X360xma2" */
|
||||||
|
case 0x44757261786D6132: { /* "Duraxma2" */
|
||||||
/* chunks: "seek" (XMA2 seek table), "data" */
|
/* chunks: "seek" (XMA2 seek table), "data" */
|
||||||
if (!block_align) goto fail;
|
if (!block_align) goto fail;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user