Merge ~robertliu/snappy-hwe-snaps/+git/pulseaudio:master into ~snappy-hwe-team/snappy-hwe-snaps/+git/pulseaudio:master
Status: | Superseded |
---|---|
Proposed branch: | ~robertliu/snappy-hwe-snaps/+git/pulseaudio:master |
Merge into: | ~snappy-hwe-team/snappy-hwe-snaps/+git/pulseaudio:master |
Diff against target: |
109 lines (+55/-8) 2 files modified
bin/pulseaudio (+4/-1) snapcraft.yaml (+51/-7) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Snappy HWE Team | Pending | ||
Jim Hodapp | code | Pending | |
Review via email: mp+311559@code.launchpad.net |
This proposal supersedes a proposal from 2016-10-28.
This proposal has been superseded by a proposal from 2016-11-23.
Description of the change
When using the original pulseaudio snap on Intel NUC, pulseaudio only listed the analog output but not HDMI audio port. After some debug, I found libasound2 has several hard-coded path variables. These modifications are used to change the paths in libasound2-data.
1. import alsa-lib_
2. modify alsa-lib to use the SNAP environment variable when getting the data directory
3. add a new parts in snapcraft.yaml for alsa-lib
4. only pack necessary files in the snap
Also export more variables in bin/pulseaudio.
This needs rebase or merge now that https:/ /code.launchpad .net/~jhodapp/ snappy- hwe-snaps/ +git/fix- pulseaudio- slots-plugs/ +merge/ 309604 is merged. Leaving detailed review up to Jim.