bnnm
f153479383
Add OGL Vorbis decoder/meta [Jett Rocket (Wii), FAST Racing NEO (WiiU)]
2017-04-22 19:25:54 +02:00
bnnm
460beeb141
Remove unneeded TODO
2017-04-22 16:23:40 +02:00
bnnm
0bade4a931
Fix XMA1 parsing bugs
2017-04-22 13:11:11 +02:00
bnnm
a5e190eb89
Add wma_get_samples util
2017-04-22 11:30:24 +02:00
bnnm
4d4c5e140b
Minor renames (xma_sample_data, ffmpeg_make_riff_xma_from_fmt)
2017-04-15 23:58:19 +02:00
bnnm
8479f96367
Import math.h for Vorbis
2017-04-15 23:22:50 +02:00
bnnm
5ec65f9587
Rename ffmpeg_decoder_utils.c to coding_utils.c and don't need FFmpeg
...
I feel they are general-purpose enough that shouldn't depend on FFmpeg
(ex. xma_samples should work whether FFmpeg, libav, or
super_multi_decoder is enabled)
2017-04-15 23:19:06 +02:00
bnnm
70f5dc4684
Fix Wwise Vorbis with header triad and remove disable flag
2017-04-15 23:03:26 +02:00
bnnm
ddf974a31a
Remove FSB Vorbis disable flag
2017-04-15 22:59:36 +02:00
bnnm
54d1995dc8
Fix segfault when resetting non-looping Vorbis/MPEG files
...
Also, apparently reset shouldn't reset the streamfiles
2017-04-14 01:22:53 +02:00
bnnm
34999ddec9
Fixed bug when seeking in Wwise IMAs
2017-04-13 16:55:40 +02:00
bnnm
f067d4ddb9
Added Wwise Vorbis decoder and packed codebooks
2017-04-13 15:04:46 +02:00
bnnm
a468898855
Added Wwise IMA decoder; ms_ima_bytes_to_samples
...
There are some minor issues with seeking in odd samples to be fixed
2017-04-11 19:59:29 +02:00
bnnm
680ff51e64
Add extra XMA parsing utils
2017-04-08 13:32:11 +02:00
bnnm
b7ffd11fca
Add/use atrac3_bytes_to_samples
2017-04-07 21:18:07 +02:00
bnnm
3619b14f8e
Add Wwise XWMA [Halo 4 X360]; update xma_get_samples to read WMAPRO
...
Also ffmpeg_make_riff_xwma doesn't actually need num_samples and use
x_bytes_to_samples in Wwise
2017-04-07 20:21:55 +02:00
bnnm
d6f6798569
Add pcm/dsp/ps_bytes_to_samples helpers
2017-04-07 16:23:43 +02:00
bnnm
fc71e88019
Add pre-compiled FSB Vorbis setup/codebooks
2017-03-26 15:54:25 +02:00
bnnm
bed84fca2d
Add alt loading mechanisms for FSB Vorbis setup/codebooks
2017-03-26 15:53:56 +02:00
bnnm
efdb885a79
Fix crash bug introduced when adding looping
2017-03-26 14:07:50 +02:00
Christopher Snowhill
886a25ca95
Try activating FSB Vorbis.
2017-03-25 18:47:17 -07:00
bnnm
ab05279629
Fix FSB vorbis looping
2017-03-25 19:05:18 +01:00
bnnm
01391f4d6d
Add FSB Vorbis decoder
2017-03-25 14:57:44 +01: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
d6ce0f0ae3
Fix SGXD typo (SGDX to SGXD)
2017-03-18 15:07:58 +01:00
Christopher Snowhill
00523fb5ab
Merge pull request #74 from bnnm/fsb-mpeg-bfstm
...
FSB MPEG, BFSTM
2017-03-13 18:29:50 -07:00
bnnm
0e10b75beb
Fix interleaved FSB MPEG decoding
...
Padding doesn't apply to Layer II FSBs, and it needed to manually get
info from MPEG frames since mpg123 functions weren't always working.
2017-03-13 20:04:09 +01:00
Christopher Snowhill
698269dd14
Convert Japanese comments from EUCJP to UTF-8.
2017-03-12 22:19:22 -07:00
bnnm
1a0da46703
Some more IMA cleanup (no functional changes)
2017-03-10 18:08:12 +01:00
bnnm
b8a25dbc27
Some IMA cleanup (no functional changes)
2017-03-09 21:47:23 +01:00
bnnm
2cdef093cb
Added FFmpeg fake atrac3plus RIFF
2017-03-09 19:13:05 +01:00
bnnm
af0c31d61f
Minor tweaks/log
2017-03-05 17:35:45 +01:00
bnnm
d2a31378c2
move xma_get_samples from xma.c to FFmpeg utils (needed by XWB)
...
xma.c now uses ffmpeg's fmt_chunk_swap_endian, too
2017-02-25 19:52:07 +01:00
bnnm
fbb9af5410
Tweak FFmpeg XMA1 fake RIFF
2017-02-25 17:29:25 +01:00
bnnm
04f2cb0344
Moved FFmpeg RIFF utils to their own file
...
I'm going to add more later so it was getting kind of unwieldy
2017-02-25 13:54:05 +01:00
bnnm
248ec021d8
Add FFmpeg fake riff helpers: XMA1, XWMA, XMA2 tweaks
2017-02-25 12:25:10 +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
0101572718
Add multichannel MPEG decoder
...
Supports fixed-size frames (for XVAG) or variable/padded frames (for
FSB), but FSB support has some bugs so it's not used yet.
2017-02-19 20:20:13 +01:00
bnnm
e0d129e06c
Prepare MPEG stuff for multichannel
2017-02-18 18:27:21 +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
2e41586e68
Move AHX MPEG init code to mpeg_decoder and other cleanup
2017-02-17 18:35:58 +01:00
bnnm
df84602e85
Move reset/seek/free MPEG code to mpeg_decoder (for later changes)
2017-02-17 17:20:40 +01:00
bnnm
9317ce9cc2
Add ffmpeg_set_skip_samples to manually fix encoder delay in some cases
2017-02-12 13:17:01 +01:00
bnnm
cc181f5e0d
Added FSB multichannel IMA
2017-02-04 23:17:56 +01:00
bnnm
b7ee1f8f02
Add todo/note in XBOX IMAs
2017-02-04 19:37:00 +01:00
bnnm
6cd991ebf6
Added FSB multichannel IMA
...
Variation of the XBOX IMA used in >2ch FSB (interleaved header)
2017-02-04 19:19:51 +01:00
bnnm
068284ff09
Add dsp_read_coefs_le
2017-01-25 22:20:01 +01:00
bnnm
a809a7c628
Add Omikron: The Nomad Soul IMA ADPCM coding and meta
2017-01-25 20:25:39 +01:00
bnnm
1d95cfc138
Normalize coding style to understand IMAs better + highlight differences
...
There are no functional differences, all IMAs give byte-exact results
compared to prev versions
2017-01-25 20:19:13 +01:00
Christopher Snowhill
05a33eee1e
And this fixes that broken decoder in the event of starting on odd samples.
2017-01-16 22:26:08 -08:00