mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 02:29:51 +01:00
Change mp3 buffer behaviour and remove speedhack.
This commit is contained in:
1 parent
fdc0beb981
commit
55e25fe8a7
4 files changed
+1
-8
No files matched your search
@@ -685,7 +685,6 @@ static ConfigSetting soundSettings[] = {
|
||||
ConfigSetting("GlobalVolume", &g_Config.iGlobalVolume, VOLUME_MAX, true, true),
|
||||
ConfigSetting("SASVolume", &g_Config.iSASVolume, 8, true, true),
|
||||
ConfigSetting("ATRACMP3Volume", &g_Config.iATRACMP3Volume, 8, true, true),
|
||||
ConfigSetting("SpeedLimitHack", &g_Config.bSpeedLimitHack, false , true, true),
|
||||
|
||||
ConfigSetting(false),
|
||||
};
|
||||
|
||||
@@ -208,7 +208,6 @@ public:
|
||||
int iAudioBackend;
|
||||
int iGlobalVolume, iSASVolume, iATRACMP3Volume;
|
||||
bool bExtraAudioBuffering; // For bluetooth
|
||||
bool bSpeedLimitHack;
|
||||
|
||||
// UI
|
||||
bool bShowDebuggerOnLoad;
|
||||
|
||||
@@ -355,9 +355,7 @@ u32 AuCtx::AuDecode(u32 pcmAddr)
|
||||
outbuf += pcmframesize;
|
||||
// increase FrameNum count
|
||||
FrameNum++;
|
||||
if (g_Config.bSpeedLimitHack) {
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
Memory::Write_U32(PCMBuf, pcmAddr);
|
||||
return outpcmbufsize;
|
||||
|
||||
@@ -560,9 +560,6 @@ void GameSettingsScreen::CreateViews() {
|
||||
sasVol->SetEnabledPtr(&g_Config.bEnableSound);
|
||||
PopupSliderChoice * atracmp3Vol = audioSettings->Add(new PopupSliderChoice(&g_Config.iATRACMP3Volume, 0, MAX_CONFIG_VOLUME, a->T("ATRAC / MP3 volume"), screenManager()));
|
||||
atracmp3Vol->SetEnabledPtr(&g_Config.bEnableSound);
|
||||
|
||||
CheckBox *speedLimitHack = audioSettings->Add(new CheckBox(&g_Config.bSpeedLimitHack, a->T("Speed Limit Hack", "Speed Limit Hack(Orbit etc.)")));
|
||||
speedLimitHack->SetEnabledPtr(&g_Config.bEnableSound);
|
||||
}
|
||||
// Control
|
||||
ViewGroup *controlsSettingsScroll = new ScrollView(ORIENT_VERTICAL, new LinearLayoutParams(FILL_PARENT, FILL_PARENT));
|
||||
|
||||
Reference in new issue
Block a user