Remove restriction of stereo-only OGGs

This commit is contained in:
Andre Leiradella 2017-05-24 21:16:19 +01:00
parent 37f74de732
commit c72d47b9d0

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;