Remove restriction of stereo-only OGGs
This commit is contained in:
parent
37f74de732
commit
c72d47b9d0
|
@ -377,10 +377,6 @@ static bool audio_mixer_play_ogg(
|
||||||
|
|
||||||
info = stb_vorbis_get_info(stb_vorbis);
|
info = stb_vorbis_get_info(stb_vorbis);
|
||||||
|
|
||||||
/* Only stereo supported for now */
|
|
||||||
if (info.channels != 2)
|
|
||||||
goto error;
|
|
||||||
|
|
||||||
if (info.sample_rate != s_rate)
|
if (info.sample_rate != s_rate)
|
||||||
{
|
{
|
||||||
ratio = (double)s_rate / (double)info.sample_rate;
|
ratio = (double)s_rate / (double)info.sample_rate;
|
||||||
|
|
Loading…
Reference in New Issue