allow > 2 channel streams to play in winamp

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@185 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
halleyscometsw 2008-05-20 18:32:40 +00:00
parent 3b3ada7ff0
commit 7171043682

View File

@ -220,8 +220,7 @@ int play(char *fn)
}
if (ignore_loop) vgmstream->loop_flag = 0;
/* will we be able to play it? */
if (vgmstream->channels <= 0 || vgmstream->channels > 2) {
/* TODO: > 2 channels is not unheard of, we should probably complain */
if (vgmstream->channels <= 0) {
close_vgmstream(vgmstream);
vgmstream=NULL;
return 1;