mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-24 15:00:11 +01:00
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:
parent
3b3ada7ff0
commit
7171043682
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user