Age | Commit message (Collapse) | Author | Files | Lines |
|
Rework to only enable the scan buttons when the radio is playing,
and a tweak to make sure the scan label reverts to the original
non-scanning color when a scan is interrupted by the user selecting
a frequency with the slider or tune buttons.
Change-Id: I5c44234891aa82e13c28c75b703039575fa2428e
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
Changes include:
- Change the 'SCAN' label color when scanning. This visually
signals to the user that scanning is taking place, which is
useful with the Kingfisher Si4689 radio where scanning jumps
to a found station.
- Update the frequency when scanning signals a station is found.
This improves behavior when using the Kingfisher radio, where
the frequency update from the binding can fall prey to a race
with the scanning state change in the QML.
- Explicitly prevent triggering another scan while one is in
progress. This is more of a general robustness fix to prevent
unnecessary calls to the binding. It does help avoid potential
issues with the Kingfisher radio where we really cannot interrupt
a scan at present.
Change-Id: I08825c7f51d354a20b38f647e72e4535bca37bd9
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
A radio binding has been added in the new binding directory, and the
application has been reworked to use it. The binding uses a modified
version of the rtl_fm code used in the qtmultimedia radio plugin that
was previously used, and some new code has been added to output to
PulseAudio using the asynchronous API to ensure compatibility with
stream corking. The rtl_fm code has been enhanced to add seeking
support, and the application has been tweaked to use it.
Bug-AGL: SPEC-581
Change-Id: I011e98374accc2cad2b36c93ac800948ee51f2aa
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|