Merge plainbox-provider-checkbox:fix-audio-test-get-source-sink-ids into plainbox-provider-checkbox:master
Proposed by
Yao Wei
Status: | Needs review |
---|---|
Proposed branch: | plainbox-provider-checkbox:fix-audio-test-get-source-sink-ids |
Merge into: | plainbox-provider-checkbox:master |
Diff against target: |
103 lines (+30/-34) 1 file modified
bin/audio_test.py (+30/-34) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Checkbox Developers | Pending | ||
Review via email: mp+431179@code.launchpad.net |
Commit message
bin:audio_test.py: use pactl get-default-source and get-default-sink
This is to make getting default source/sink more reliable instead of manually filtering through the list.
To post a comment you must log in.
Hello Yao,
I tested on KRPL-SFF- DVT-C1_ 202208- 30552, it will show pci-0000_ 00_1f.3. analog- stereo pci-0000_ 00_1f.3. analog- stereo. monitor
ubuntu@ubuntu:~$ pactl get-default-sink
alsa_output.
ubuntu@ubuntu:~$ pactl get-default-source
alsa_output.
The original logic seems filter out monitor. {sink,source} ?
Will it impact the result if you just return the output of $ pactl get-default-
Thanks,