hmi-audio-combined manual

high

Image Types:
hmi-armhf / hmi-amd64 / sdk-amd64
Image Deployment:
APT, OSTree
Type:
compatibility

Description

Test that the songs present play and can be paused, skipped, volume can be changed up/down and audio policy works correctly


Pre Conditions

  1. The respective target (i.MX6 or UP Squared board) should be on and running
  2. Lilliput/LVDS touch screens must be connected to the respective targets
  3. When running the test on SabreLite boards using the headphone jack to check the audio output, the audio manager needs to be configured to route it accordingly as it defaults to the HDMI output:
  4. $ pactl set-default-sink alsa_output.platform-sound.stereo-fallback
    $ pactl set-sink-port alsa_output.platform-sound.stereo-fallback analog-output-headphones
  5. After reboot ensure that headphones will not be muted:
  6. $ pactl set-sink-mute alsa_output.platform-sound.stereo-fallback false
  7. Add the Flathub repository (only needed on SDK images)
  8. $ flatpak remote-add --user --no-sign-verify --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  9. Install Rhythmbox from Flathub (only needed on SDK images)
  10. $ flatpak install --user flathub org.gnome.Rhythmbox3
  11. Add the Apertis repository (only needed on SDK images)
  12. $ sudo flatpak remote-add apertis https://images.apertis.org/flatpak/repo/apertis.flatpakrepo
  13. Install Videos Application from Apertis (only needed on SDK images)
  14. $ sudo flatpak install apertis org.apertis.hmi.totem

Execution Steps

  1. Open the Rhythmbox Music Application
  2. $ flatpak run org.gnome.Rhythmbox3
  3. Play and Pause any song
  4. Click on the skip start button
  5. The next song in the playlist will play and then stop
  6. Now play a new song from the playlist
  7. Click on the skip end button
  8. Next song begins to play
  9. Click on the speaker icon on the display and increase/decrease the volume control
  10. A volume level controller pops up and the sound/volume level can be controlled using this
  11. Ensure that a song is being played
  12. While the song is playing, open the Videos Application
  13. $ flatpak run org.apertis.hmi.totem
  14. Play any video
  15. Ensure that audio from Videos is played and audio from Rhythmbox is not heard
  16. Close Videos application
  17. Audio from Rhythmbox is heard

Expected

Audio files play without any glitch and can be paused