diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-02-17 13:59:05 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-02-17 13:59:05 +0100 |
commit | 691c8e77028fe293345f10d3104452f8658cf980 (patch) | |
tree | c8c969321621fe6a1305ff2a46df303d6bfc0f08 /src/audio | |
parent | Show Radio Off on interiors that don't want radio (diff) | |
download | re3-691c8e77028fe293345f10d3104452f8658cf980.tar re3-691c8e77028fe293345f10d3104452f8658cf980.tar.gz re3-691c8e77028fe293345f10d3104452f8658cf980.tar.bz2 re3-691c8e77028fe293345f10d3104452f8658cf980.tar.lz re3-691c8e77028fe293345f10d3104452f8658cf980.tar.xz re3-691c8e77028fe293345f10d3104452f8658cf980.tar.zst re3-691c8e77028fe293345f10d3104452f8658cf980.zip |
Diffstat (limited to 'src/audio')
-rw-r--r-- | src/audio/oal/stream.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/audio/oal/stream.cpp b/src/audio/oal/stream.cpp index e2e87f2d..ed73e940 100644 --- a/src/audio/oal/stream.cpp +++ b/src/audio/oal/stream.cpp @@ -464,7 +464,7 @@ public: #endif #ifdef AUDIO_OAL_USE_MPG123 -// fuzzy seek eliminates stutter when playing ADF but spams errors a lot (nothing breaks though) +// fuzzy seek eliminates stutter when playing ADF but spams errors a lot (and breaks radio sometimes) //#define MP3_USE_FUZZY_SEEK class CMP3File : public IDecoder @@ -492,6 +492,8 @@ public: { #ifdef MP3_USE_FUZZY_SEEK mpg123_param(m_pMH, MPG123_FLAGS, MPG123_FUZZY | MPG123_SEEKBUFFER | MPG123_GAPLESS | MPG123_QUIET, 0.0); +#else + mpg123_param(m_pMH, MPG123_FLAGS, MPG123_SEEKBUFFER | MPG123_GAPLESS, 0.0); #endif long rate = 0; int channels = 0; @@ -602,6 +604,8 @@ public: { #ifdef MP3_USE_FUZZY_SEEK mpg123_param(m_pMH, MPG123_FLAGS, MPG123_FUZZY | MPG123_SEEKBUFFER | MPG123_GAPLESS | MPG123_QUIET, 0.0); +#else + mpg123_param(m_pMH, MPG123_FLAGS, MPG123_SEEKBUFFER | MPG123_GAPLESS, 0.0); #endif long rate = 0; int channels = 0; |