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

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Wed Nov 15 19:04:34 CET 2006


Hello,
On Wed, Nov 15, 2006 at 11:17:48PM +0600, voroshil at gmail.com wrote:
> Attached patch adds ability to tune radio frequency using new slave command:
> radio_step_freq. Step interval can be changed with step_value parameter.

Make the slave command argument a float instead.

> 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). 
> Should i check and always align frequency value to step_interval?

Start by using double instead of float.
Ideally all this could use and reuse the property code and slave
commands I guess...

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list