-
Notifications
You must be signed in to change notification settings - Fork 59
add User space test cases (version2) #479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very quick and incomplete review.
The code is very readable, thanks! but I'm wondering whether all of it is really needed, especially the long pactl parser
Maybe there's no need for that much manual error handling either, relying on the defaults could be enough.
|
@libinyang Ping for update or close. |
Add the helper function to check whether pulseaudio runs properly or not. Signed-off-by: Libin Yang <libin.yang@intel.com>
Check the pulseaudio card info to make sure the card is ready. Signed-off-by: Libin Yang <libin.yang@intel.com>
Add the tool pactlinfo.py to parse the pactl list information Signed-off-by: Libin Yang <libin.yang@intel.com>
This test case will go through all the sinks on the tested cards, and try to paplay it if the active port is not "not available" Signed-off-by: Libin Yang <libin.yang@intel.com>
This test case will go through all the sources on the tested cards, and try to parecord it if the active port is not "not available" Signed-off-by: Libin Yang <libin.yang@intel.com>
|
All the feedbacks are ACKed except the 'timeout' issue keeps open. |
|
ping for review |
a lot of changes have been made from the first version. And we have a full talk about the implementation. So open a new thread based on @marc-hb 's suggestion. The old version can be found: #363
This patchset includes:
check-userspace-cardinfo: check pulseaudio can parse the ucm correctly and exports the correct card
check-userspace-paplay: go through all the active sinks and play on it if port is available
check-userspace-parecord: go through all the active sources and record on it if port is available