Merge lp:~sylvain-pineau/checkbox/audio_settings_fixes into lp:checkbox
Proposed by
Sylvain Pineau
Status: | Merged |
---|---|
Approved by: | Daniel Manrique |
Approved revision: | 2193 |
Merged at revision: | 2194 |
Proposed branch: | lp:~sylvain-pineau/checkbox/audio_settings_fixes |
Merge into: | lp:checkbox |
Diff against target: |
253 lines (+58/-38) 4 files modified
checkbox-old/checkbox/scripts/audio_settings.py (+45/-34) checkbox-old/debian/changelog (+4/-0) checkbox-old/jobs/audio.txt.in (+2/-2) checkbox-old/scripts/gst_pipeline_test (+7/-2) |
To merge this branch: | bzr merge lp:~sylvain-pineau/checkbox/audio_settings_fixes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Manrique (community) | Approve | ||
Review via email: mp+169425@code.launchpad.net |
Commit message
checkbox-
Description of the change
audio_settings: fix the profile backup method.
The previous method made the assumption that the saved card profile should
be applied to card #0 when restoring the settings.
It's wrong, especially for system using multiple ALSA cards.
The fix saves the current profile for all cards and use their symbolic
names to restore the profiles.
Profiles configuration is backed up using configparser.
To post a comment you must log in.
Looks good to me and the script seemed to work (though I don't know if my laptop shows different cards).