¡Hola Ben!

El 2017-08-27 a las 06:59 -0700, Ben Wong escribió:
Package: radio
Version: 3.103-3+b1
Severity: normal
Tags: patch

Dear Maintainer,

The radio program incorrectly changes the frequency on startup under
certain circumstances because it does not correctly calculate the band.

To recreate:

1. Create a file called "~/.radio" with contents like this:

   [Buttons]
   1= 89550000
   2= 90350000

2. Tune in a frequency that is not one of the presets.
  For example, 'radio -f 94.9'  (then 'q' to quit)

3. Run 'radio' again and note that the frequency gets changed to the
  first preset.

(Note: This bug doesn't occur if the radio is set to a frequency that
is one of the presets).

The problem is that the radio program converts the current frequency
to a band by looking at frequencies that are listed in the presets. It
ought to look at the frequency ranges of the available bands.

I have included a patch which does that.

Sorry that it took me so long to reply your email.

You are reporting an upstream issue, and it seems to me that it would be better if you send this kind of patches upstream directly. You can contact upstream through the linux-media mailing list: linux-me...@vger.kernel.org

Although the project is no longer in active development the still accept patches/fixes.

Happy hacking,
--
"Seek simplicity, and distrust it." -- Whitehead's Rule
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: PGP signature

Reply via email to