[MPlayer-dev-eng] [PATCH] New slave command radio_step_freq

Vladimir Voroshilov voroshil at gmail.com
Sun Nov 19 16:41:04 CET 2006


2006/11/19, Reynaldo H. Verdejo Pinochet <reynaldo at opendot.cl>:
> On Wed, Nov 15, 2006 at 11:17:48PM +0600, voroshil at gmail.com wrote:
> > Hi, All
> > Attached patch adds ability to tune radio frequency using new slave command:
> > radio_step_freq. Step interval can be changed with step_value parameter.
> >
> > Issue:
> > if user repeats tuning frequency very fast (i.e. holding binded to
> > radio_step_freq key), frequency losts aligment to step_interval.
> > For example: user start mplayer with frequency 100.00, step_interval=0.05.
> > When user holds binded key, frequency can take values not aligned to 0.05,
> > i.e. 100.3).
>
> but thats aligned to 0.05, 100.3 = 2006 * 0.05
>
> Did I miss something ?
Damn typo. I mean 100.03
> Im not really sure but can only guess that most tunners have some
> precision limit that would raise/floor the asked freq value if
> out of range. if thats true Id say dont botter.
I think, with _v2 patch it does not a hard trouble. we always can bind to keys
1st to "radio_step_freq 0.05", 2nd to "radio_step_freq 0.01" to true
fine tuning.

i'll commit it with small unmeanfull fixes.

-- 
Regards,
Vladimir Voroshilov     mailto:voroshil at gmail.com
JID: voroshil at jabber.ru
ICQ: 95587719



More information about the MPlayer-dev-eng mailing list