mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 00:41:24 +00:00
- fixed endless loop in replay gain analyzer when getting passed music with an unhandled sample rate.
This commit is contained in:
parent
1b45c83d59
commit
a98507f737
2 changed files with 12 additions and 8 deletions
1
source/common/thirdparty/gain_analysis.cpp
vendored
1
source/common/thirdparty/gain_analysis.cpp
vendored
|
@ -251,6 +251,7 @@ GainAnalyzer::ResetSampleFrequency(int samplefreq) {
|
|||
freqindex = 9;
|
||||
break;
|
||||
case 11025:
|
||||
case 11111: // SW shareware tries to play a VOC with this frequency as music. This is close enough to 11025 to use the same table.
|
||||
freqindex = 10;
|
||||
break;
|
||||
case 8000:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue