From Fedora Project Wiki
(→Setup) |
(Add hotplugging.) |
||
Line 7: | Line 7: | ||
# This test case should be performed on '''bare-metal''' machines. To be able to test with '''virtual''' machines, consider a [https://fedoraproject.org/wiki/QA:Howto_USB_Passtrough USB device pass-through]. | # This test case should be performed on '''bare-metal''' machines. To be able to test with '''virtual''' machines, consider a [https://fedoraproject.org/wiki/QA:Howto_USB_Passtrough USB device pass-through]. | ||
# The computer must be equipped with at '''least two sound devices'''. | # The computer must be equipped with at '''least two sound devices'''. | ||
# One of the sound devices should be an '''external device''' (USB, Firewire) | |||
# Install a desktop version of '''Fedora 34''' (or later). | # Install a desktop version of '''Fedora 34''' (or later). | ||
# Install the <code>pavucontrol</code> package. | # Install the <code>pavucontrol</code> package. | ||
Line 13: | Line 14: | ||
== How to test == | == How to test == | ||
# Make sure the external device is '''disconnected'''. | |||
# Start '''Pavucontrol'''. | # Start '''Pavucontrol'''. | ||
# Go to the '''Output Devices''' tab and check that all your audio devices are listed there. | # Go to the '''Output Devices''' tab and check that all your audio devices are listed there. | ||
Line 21: | Line 23: | ||
# Unmute the channel and check that the sound is audible again. | # Unmute the channel and check that the sound is audible again. | ||
# Click on '''Lock channels together''' button and unlock the left and right audio channel. Check that the volume can be adjusted for each channel separately. Try this with all application's outputs. | # Click on '''Lock channels together''' button and unlock the left and right audio channel. Check that the volume can be adjusted for each channel separately. Try this with all application's outputs. | ||
# Connect the external device and make sure that it has appeared in the '''Output Devices'''. | |||
# If it has not become the default device, set it up as default and make sure the sound is routed through this device. | |||
# For each playing applications, click on the button showing the current device on the right side of the panel and select a different device to output the application sound. Confirm that the application's output stops playing on the current device and starts playing on the newly selected device. | # For each playing applications, click on the button showing the current device on the right side of the panel and select a different device to output the application sound. Confirm that the application's output stops playing on the current device and starts playing on the newly selected device. | ||
# Disconnect the external device. Make sure that all the streams are now being played on the original device, e.g. internal. | |||
== Expected results == | == Expected results == | ||
Line 28: | Line 33: | ||
# All devices are listed on corresponding tabs. | # All devices are listed on corresponding tabs. | ||
# The buttons and sliders allow to control the mixing and routing of the output. | # The buttons and sliders allow to control the mixing and routing of the output. | ||
# A new external device can be added to the system any time and sound can be sent to it. When it is disconnected, sound has to return the previously used device. | |||
[[Category:Test Days Test Cases]] | [[Category:Test Days Test Cases]] | ||
[[Category:Package_pipewire_test_cases]] | [[Category:Package_pipewire_test_cases]] |
Revision as of 16:54, 2 March 2021
Pavucontrol Mixing
This test case tests that various audio outputs can be mixed and sent to different devices using Pavucontrol.
Setup
- This test case should be performed on bare-metal machines. To be able to test with virtual machines, consider a USB device pass-through.
- The computer must be equipped with at least two sound devices.
- One of the sound devices should be an external device (USB, Firewire)
- Install a desktop version of Fedora 34 (or later).
- Install the
pavucontrol
package. - Connect your speakers (headphones) to all your computer’s sound devices, i.e. each sound device should have its own speakers connected when performing this test case.
How to test
- Make sure the external device is disconnected.
- Start Pavucontrol.
- Go to the Output Devices tab and check that all your audio devices are listed there.
- Start two (or more) different applications that play audio. Alternatively, you can open two or more Youtube videos in Firefox.
- Go to the Playback tab and confirm that all sound playing applications appear listed there.
- Adjust the output volume for each playing application using the corresponding volume slider. Check that each of the outputs can be adjusted independently and that you can mix the final sound output to your likings.
- Use the Mute audio button to mute the selected application output. Check that the channel is muted and does not produce any audible sound.
- Unmute the channel and check that the sound is audible again.
- Click on Lock channels together button and unlock the left and right audio channel. Check that the volume can be adjusted for each channel separately. Try this with all application's outputs.
- Connect the external device and make sure that it has appeared in the Output Devices.
- If it has not become the default device, set it up as default and make sure the sound is routed through this device.
- For each playing applications, click on the button showing the current device on the right side of the panel and select a different device to output the application sound. Confirm that the application's output stops playing on the current device and starts playing on the newly selected device.
- Disconnect the external device. Make sure that all the streams are now being played on the original device, e.g. internal.
Expected results
- Pavucontrol starts.
- All devices are listed on corresponding tabs.
- The buttons and sliders allow to control the mixing and routing of the output.
- A new external device can be added to the system any time and sound can be sent to it. When it is disconnected, sound has to return the previously used device.