mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-19 00:04:04 +01:00
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:
parent
a238b2b799
commit
21236c753a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user