force channels to 2 to avoid sounding like crap

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@355 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
halleyscometsw 2008-07-21 00:14:45 +00:00
parent a238b2b799
commit 21236c753a

View File

@ -675,6 +675,7 @@ int acm_open_decoder(ACMStream **res, STREAMFILE *facilitator_file,
GET_BITS_ERR_OUT(acm->info.channels, acm, 16);
if (acm->info.channels < 1)
goto err_out;
acm->info.channels = 2;
GET_BITS_ERR_OUT(acm->info.rate, acm, 16);
GET_BITS_ERR_OUT(acm->info.acm_level, acm, 4);