From Fedora Project Wiki

Revision as of 12:45, 12 February 2021 by Lruzicka (talk | contribs)

Pavucontrol — Adding and Removing Devices on-the-fly

This test case tests that devices can be added and removed on-the-fly and that audio is correctly routed through these devices or ports.

Setup

  1. This test case can be performed on a bare machine.
  2. The computer must be equipped with a sound device with multiple ports (speakers and phones).
  3. Install a desktop version of Fedora 34 (or later).
  4. Log in as a common user.
  5. Install the pavucontrol package.

How to test

  1. Start Pavucontrol.
  2. Start some sound playing application and play some audio.
  3. Plug the headphones and check that the output switched to headphones.
  4. Unplug the headphones and check that the output returns back to built-in speaker.
  5. Repeat the previous steps and watch if the sound volume returns to its previous state.
  6. Plug in an HDMI monitor and check that the device appears in the Pavucontrol’s list of devices. Change the output of the playback to be routed to this device on the Playback tab.
  7. Unplug the HDMI monitor and check that the device disappears from the device list.
  8. Check the volume levels whenever the sound device changes.

Expected results

  1. Pavucontrol starts and shows the available sound devices on the Output devices tab.
  2. The audio is playing over the default sound device.
  3. When headphones are plugged-in, the audio is playing through them, while the speakers get muted.
  4. Upon unplugging the headphones, the audio starts playing through the speakers again.
  5. The sound levels are restored to the previously used level for the particular output whenever it is switched to it.
  6. The HDMI device appears in the list of devices. The output can be routed through this device and it is correctly played back.
  7. The HDMI device disappears from the list of devices. The output reroutes to the original output device.
  8. Whenever the output is switched to another device, the volume level should be restored at values that have been set previously.