Commit Graph

33 Commits

Author SHA1 Message Date
bnnm
d219804b99 Add stream selection and/or stream name reading for some formats 2017-08-12 11:46:28 +02:00
bnnm
6308818b77 Simplify MPEG coding/layouts to allow blocked layouts and future changes 2017-07-29 13:05:23 +02:00
bnnm
6a922be613 Fix encoder delay/skip samples in: SCD/SGXD/RIFF/MSF ATRAC3/p, SGXD AC3 2017-05-20 18:00:27 +02:00
bnnm
64b4631ded Add some missing #ifdef VGM_USE_VORBIS 2017-05-12 19:25:20 +02:00
bnnm
4d4c5e140b Minor renames (xma_sample_data, ffmpeg_make_riff_xma_from_fmt) 2017-04-15 23:58:19 +02:00
bnnm
bcf93deecd Extend ffmpeg's make_riff_xma_from_fmt/fmt_chunk_swap_endian for XMA1 2017-03-19 00:43:31 +01:00
bnnm
a4327c3529 Improve total_streams check 2017-03-18 17:17:24 +01:00
bnnm
8fc73c6d02 Minor SCD cleanup 2017-03-09 20:56:26 +01:00
bnnm
9d97a346d3 Save number of streams info 2017-03-04 02:16:35 +01:00
bnnm
7f98f5b4f6 Remove MPEG sample rate check and channel/sample rate pointer updates
Rarely used, frame sample rate/channels are now exposed, and FFmpeg will
end up playing any MP3 anyway.
Encoders may modify sample rate to adjust looping to frame boundaries,
too.
2017-02-19 21:16:09 +01:00
bnnm
7418b61793 Hide buffer and mpeg_bytes_to_samples MPEG internals; cleanup
Also removes VBR check from metas; it's only needed because
mpeg_bytes_to_samples doesn't work with VBR, but now it'll return 0,
which would be validated later.
2017-02-18 00:17:38 +01:00
bnnm
b726349ece Fix multistream count offset [Dragon Quest X SFX] 2017-01-19 00:33:12 +01:00
bnnm
78349c3c8f Move "skip chunks" to OGG, only FFXIV needs it and breaks some DQ10 DSPs 2017-01-19 00:29:55 +01:00
bnnm
ef44b5b5cc SCD DSP: validate size/offset and don't crash when failing to open 2017-01-18 21:19:43 +01:00
bnnm
85e63743b7 Added SCD DSP Wii U [Dragon Quest X (Wii U)] 2017-01-15 20:42:26 +01:00
bnnm
72f252327f Added SCD ATRAC3plus [Lord of Arcana (PSP)] 2017-01-14 23:00:19 +01:00
bnnm
d3ba419aa9 Fixed SCD XMA [Final Fantasy XIII (X360)] 2017-01-14 22:27:52 +01:00
bnnm
8b8a9ecd4e Basic support for multi-stream SCD (FF XIV sfx) 2017-01-03 21:13:36 +01:00
bnnm
8913ccdd47 Add SCD OGG v3 decryption (FF XIV Heavensward)
Original code by ShadowRoze and algorithm by Ioncannon.
2017-01-03 19:03:08 +01:00
bnnm
cdfd47eb7b FFmpeg: expose block/frame size, rename totalFrames for clarity 2016-12-10 15:53:29 +01:00
Christopher Snowhill
add0dba4eb Fix for compiling without FFmpeg. 2016-07-25 20:41:26 -07:00
Chris Moeller
cbe9bc3d6b Added FFmpeg support, and fixed a long standing issue with broken loops locking up the decoder. 2016-07-16 23:02:27 -07:00
halleyscometsw
44075c4e91 clean up some warning-causing ugliness 2014-06-26 21:12:48 -07:00
Chris Moeller
b2c8e5cbac Another Drag-On Dragoon 3weird samplerate (40999)
From a set of files called BGM_TEST00_*
2014-03-14 22:42:06 -07:00
Chris Moeller
43866fd9ed .XXX from Drag-On Dragoon 3 (PS3) is scd, but has 48khz MPEG with srate 47999 2014-02-25 22:26:02 -08:00
Chris Moeller
142cfc971d Raised path length limit to 32767 characters, controlled by a global enum definition 2013-05-26 20:55:50 -07:00
halleyscometsw
a4bb71f17d DSP SCD support for DQX.
Not completely happy with how this turned out (see TODOs), but it works.


git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@992 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-08-24 17:36:40 +00:00
halleyscometsw
8d8a5ab55a fix FFXIV 03.scd (ability to skip MARK), some groundwork for Wii DSP ADPCM scd
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@982 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-08-09 21:42:02 +00:00
bxaimc
fdd621cb59 You can't see it. It's electric! Or unnecessary...
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@972 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-12-16 03:45:16 +00:00
halleyscometsw
810f6e4635 oldschool C
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@971 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-12-16 03:31:08 +00:00
halleyscometsw
d8e13f6d29 SCD Ogg Vorbis with obfuscated header triad (FFXIII-2)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@970 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-12-15 08:00:47 +00:00
halleyscometsw
fde0d8d5a1 Square-Enix SCD (SEDB SSCF) Vorbis
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@952 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-05-28 09:03:45 +00:00
bxaimc
16bae0a74d Combined FSB metas
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@918 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-02-08 12:56:16 +00:00