Merge pull request #4971 from leiradel/master

Remove restriction of stereo-only OGGs
This commit is contained in:
Twinaphex 2017-05-24 22:31:28 +02:00 committed by GitHub
commit 25210d5f2a

View File

@ -377,10 +377,6 @@ static bool audio_mixer_play_ogg(
info = stb_vorbis_get_info(stb_vorbis);
/* Only stereo supported for now */
if (info.channels != 2)
goto error;
if (info.sample_rate != s_rate)
{
ratio = (double)s_rate / (double)info.sample_rate;