PDA

View Full Version : Audio delay controll


LordDax
2003-10-06, 12:49
i thiank that uone of must importat function of xbmp is the controll of audio delay for some divx downloaded and non perfectly sincronised

ezd
2003-10-19, 18:00
i agree it'd be great if this could be (re-)added, and likewise subtitle delays for badly synched subs...

thanks for a fantastic player!

zordon
2003-11-18, 00:52
this is the main reason i switch to xbmp when watching movies.

jmarshall
2003-11-18, 01:33
audio delay is already in xbmc. *it just isn't assigned to any particular buttons.

you can change this by editing keymap.xml and assigning whatever buttons you want to handle it. *note that each button can only be assigned to a single action, though, so you might have to miss out on some other action. *(although, the left and right triggers are currently not doing anything when viewing movies, so they could be used).

the action id's for audio delay are defined in key.h as:

#define action_audio_delay_min * * * * * * * * * * * * *54
#define action_audio_delay_plus * * * * * * * * * * * * 55

thus, to map audio delay minus to the left trigger, you'd add:


<action>
* *<description>decrease audio delay</description>
* *<id>54</id>
* *<gamepad>lefttrigger</gamepad>
</action>


this needs to be added in the <window> </window> section for the fullscreen video.

enjoy.

oh, and subtitle delay is already there as well.

zordon
2003-11-18, 02:01
thanks jmarshall i just figured this out.

i missed this feature big time, i'm a happy man now:-)