summaryrefslogtreecommitdiffstats
path: root/app/api/Binding.qml
AgeCommit message (Collapse)AuthorFilesLines
2018-02-15UI improvements for scanning behavioreel_5.1.0eel_5.0.3eel_5.0.2eel/5.1.0eel/5.0.3eel/5.0.25.1.05.0.35.0.2eelScott Murray1-0/+1
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>
2017-12-21Minor robustness and UI improvementseel_5.0.1eel_5.0.0eel/5.0.1eel/5.0.05.0.15.0.0Scott Murray1-4/+9
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>
2017-05-23Rework to add and use a binding for radio controldab_3.99.1dab/3.99.13.99.1Scott Murray1-0/+196
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>