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

Reynaldo H. Verdejo Pinochet reynaldo at opendot.cl
Sun Nov 19 16:27:19 CET 2006


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 ?

> Should i check and always align frequency value to step_interval?
> 

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.

Best regards

	Reynaldo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20061119/d0362445/attachment.pgp>


More information about the MPlayer-dev-eng mailing list