mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Use config value to change audio/video delay.
This commit is contained in:
parent
30d4586448
commit
2a1793c98e
@ -845,10 +845,12 @@ static void HandleHotkey(int code)
|
|||||||
CodecSetAudioPassthrough(ConfigAudioPassthrough ^= 1);
|
CodecSetAudioPassthrough(ConfigAudioPassthrough ^= 1);
|
||||||
break;
|
break;
|
||||||
case 13: // decrease audio delay
|
case 13: // decrease audio delay
|
||||||
VideoSetAudioDelay(VideoAudioDelay / 90 - 10);
|
ConfigVideoAudioDelay -= 10;
|
||||||
|
VideoSetAudioDelay(ConfigVideoAudioDelay);
|
||||||
break;
|
break;
|
||||||
case 14: // increase audio delay
|
case 14: // increase audio delay
|
||||||
VideoSetAudioDelay(VideoAudioDelay / 90 + 10);
|
ConfigVideoAudioDelay += 10;
|
||||||
|
VideoSetAudioDelay(ConfigVideoAudioDelay);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 20: // disable full screen
|
case 20: // disable full screen
|
||||||
|
Loading…
Reference in New Issue
Block a user