mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-17 11:18:31 +01:00
Test assumed stereo
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@8 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
8432b18f41
commit
f462ecbb71
@ -38,7 +38,7 @@ int main(int argc, char ** argv) {
|
||||
int toget=BUFSIZE;
|
||||
if (i+BUFSIZE>len) toget=len-i;
|
||||
render_vgmstream(buf,toget,s);
|
||||
fwrite(buf,sizeof(sample)*2,toget,outfile);
|
||||
fwrite(buf,sizeof(sample)*s->channels,toget,outfile);
|
||||
}
|
||||
|
||||
close_vgmstream(s);
|
||||
|
Loading…
x
Reference in New Issue
Block a user