mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-17 23:36:41 +01:00
that 2 doesn't involve channel count
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@739 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
c56ae2fd6a
commit
78b6aeb17e
@ -8,7 +8,7 @@ VGMSTREAM * init_vgmstream_zwdsp(STREAMFILE *streamFile) {
|
||||
off_t start_offset;
|
||||
|
||||
int loop_flag;
|
||||
int channel_count;
|
||||
int channel_count = 2;
|
||||
|
||||
/* check extension, case insensitive */
|
||||
streamFile->get_name(streamFile,filename,sizeof(filename));
|
||||
@ -29,8 +29,6 @@ VGMSTREAM * init_vgmstream_zwdsp(STREAMFILE *streamFile) {
|
||||
loop_flag = 1;
|
||||
}
|
||||
|
||||
channel_count = read_32bitBE(0x1C,streamFile);
|
||||
|
||||
/* build the VGMSTREAM */
|
||||
vgmstream = allocate_vgmstream(channel_count,loop_flag);
|
||||
if (!vgmstream) goto fail;
|
||||
|
Loading…
x
Reference in New Issue
Block a user