mirror of
https://github.com/libretro/RetroArch
synced 2025-02-12 00:40:26 +00:00
Merge pull request #4971 from leiradel/master
Remove restriction of stereo-only OGGs
This commit is contained in:
commit
25210d5f2a
@ -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…
x
Reference in New Issue
Block a user