mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-29 19:37:30 +01:00
G.722.1 decoding needs interleave layout handling even with 1 channel
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@763 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
629f8167fc
commit
0c7d56091a
@ -142,10 +142,7 @@ VGMSTREAM * init_vgmstream_bnsf(STREAMFILE *streamFile) {
|
||||
vgmstream->sample_rate = sample_rate;
|
||||
|
||||
vgmstream->coding_type = coding_type;
|
||||
if (channel_count > 1)
|
||||
vgmstream->layout_type = layout_interleave;
|
||||
else
|
||||
vgmstream->layout_type = layout_none;
|
||||
vgmstream->layout_type = layout_interleave;
|
||||
vgmstream->interleave_block_size = block_size/channel_count;
|
||||
|
||||
if (loop_flag) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user