mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 23:21:20 -04:00
Fix stereo files with libsndfile
This commit is contained in:
parent
f7ac94d686
commit
3fea3e7d25
@ -22,8 +22,8 @@ void MpgSnd_Decoder::Open(const std::string &fname)
|
|||||||
{
|
{
|
||||||
if(info.channels == 1)
|
if(info.channels == 1)
|
||||||
chanConfig = MonoChannels;
|
chanConfig = MonoChannels;
|
||||||
else if(info.channels == 1)
|
else if(info.channels == 2)
|
||||||
chanConfig = MonoChannels;
|
chanConfig = StereoChannels;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sf_close(sndFile);
|
sf_close(sndFile);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user