|
Task Description
Hi there,
first of all: this is my first contribution to rockbox and I tried my best to make myself familiar with the way things work there. I am sure, not everything is where it belongs. Please help me to get things in order :).
second: thanks to the author of Patch FS#1803 that made this possible.
The purpose of this patch is to watch the tuner reported field strength (estimate) and mute, when it drops below a customizable threshold. Wether muting or not as well as the threshold are customizable in the fm tuner menu. It should not interfere with manual muting and should not affect recording (i didn’t test that yet). THe threshold is specified in pseudo-dBuV. It also adjusts frequency display to display as MMM.KKK instead of MMM.KK. This is for people who adjust region settings and channel widths.
My testing conditions were limited to the sansa c250. FS#1803 reports to work on the tuner chips LV24020LP (e.g. sansa c250) and TEA5767. I only tested the first. Please report back possible field strength values you see on devices using these chips.
This code should not break anything. I did a testbuild for some iPods (without tuner) that compiled cleanly. Simulator also works.
Currently only english and german translation are done.
User guide: This patch conditionally adds 1 or 2 lines to the tuner main window that look like this:
Sig: [-M] -235dBuV
Automute below -555dBuV
The second line is only displayed if automute is enabled. The first line shows the status of the tuner. The 2 characters in the braces exlain as [ab]:
a: either 'O' or '-'
'O': current field strength is above threshold
'-': current field strength is equal to or below threshold
b: either 'M' or '-'
'M': will mute on or below threshold
'-': automute disabled.
(both are only updated on field strength change)
The second line should be selfexplaining, same for the menu entries.
Request for comments!
|