mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-17 11:18:31 +01:00
Minor fixes
This commit is contained in:
parent
7085b8ad1d
commit
9a402fb797
@ -241,6 +241,13 @@ really opening it (should show "vgmstream" somewhere in the file info), and
|
||||
try to remove a few other plugins. foobar's ffmpeg plugin and foo_adpcm are
|
||||
known to cause issues.
|
||||
|
||||
### Channel issues
|
||||
Some games layer a huge number of channels, that are disabled or downmixed
|
||||
during gameplay. The player may be unable to play those files (for example
|
||||
foobar can only play up to 8 channels, and Winamp depends the your sound
|
||||
card). For those files you can set the "downmix" option in vgmstream, that
|
||||
can reduce the number of channels to a playable amount. Note that downmixing
|
||||
is very simple and not meant to be used when converting to other formats.
|
||||
|
||||
## Tagging
|
||||
Some of vgmstream's plugins support simple read-only tagging via external files.
|
||||
@ -305,6 +312,7 @@ are used in few games.
|
||||
- FMOD FADPCM 4-bit ADPCM
|
||||
- Konami XMD 4-bit ADPCM
|
||||
- Argonaut ASF 4-bit ADPCM
|
||||
- Ocean DSA 4-bit ADPCM
|
||||
- Circus XPCM ADPCM
|
||||
- OKI 4-bit ADPCM (16-bit output, PC-FX)
|
||||
- SDX2 2:1 Squareroot-Delta-Exact compression DPCM
|
||||
|
@ -321,7 +321,7 @@ ffmpeg_codec_data * init_ffmpeg_header_offset_subsong(STREAMFILE *streamFile, ui
|
||||
data->offset = start;
|
||||
data->size = size;
|
||||
if (data->size == 0 || data->start + data->size > get_streamfile_size(streamFile)) {
|
||||
VGM_LOG("FFmpeg: wrong start+size found\n");
|
||||
VGM_LOG("FFPMEG: wrong start+size found: %x + %x > %x \n", (uint32_t)start, (uint32_t)size, get_streamfile_size(streamFile));
|
||||
data->size = get_streamfile_size(streamFile) - data->start;
|
||||
}
|
||||
data->logical_offset = 0;
|
||||
|
@ -6,7 +6,6 @@
|
||||
void block_update_ea_sns(off_t block_offset, VGMSTREAM * vgmstream) {
|
||||
STREAMFILE* streamFile = vgmstream->ch[0].streamfile;
|
||||
uint32_t block_id, block_size, block_samples;
|
||||
size_t file_size = get_streamfile_size(streamFile);
|
||||
off_t channel_start;
|
||||
size_t channel_interleave;
|
||||
int i;
|
||||
|
Loading…
x
Reference in New Issue
Block a user