Use config value to change audio/video delay.

This commit is contained in:
Johns 2012-04-07 13:43:51 +02:00
parent 30d4586448
commit 2a1793c98e

View File

@ -845,10 +845,12 @@ static void HandleHotkey(int code)
CodecSetAudioPassthrough(ConfigAudioPassthrough ^= 1);
break;
case 13: // decrease audio delay
VideoSetAudioDelay(VideoAudioDelay / 90 - 10);
ConfigVideoAudioDelay -= 10;
VideoSetAudioDelay(ConfigVideoAudioDelay);
break;
case 14: // increase audio delay
VideoSetAudioDelay(VideoAudioDelay / 90 + 10);
ConfigVideoAudioDelay += 10;
VideoSetAudioDelay(ConfigVideoAudioDelay);
break;
case 20: // disable full screen