Test assumed stereo

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@8 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
halleyscometsw 2008-02-04 10:48:04 +00:00
parent 8432b18f41
commit f462ecbb71

View File

@ -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);