# Playback over WSA stereo speaker

Source: [https://docs.qualcomm.com/doc/80-88500-3/topic/22_Playback_over_WSA_stereo_speaker.html](https://docs.qualcomm.com/doc/80-88500-3/topic/22_Playback_over_WSA_stereo_speaker.html)

## Start the audio playback

1. Enable the Rx path (WSA stereo speaker
          device).

        tinymix set 'WSA_CDC_DMA_RX_0 Channels' 'Two'
        tinymix set 'WSA RX0 MUX' 'AIF1_PB'
        tinymix set 'WSA RX1 MUX' 'AIF1_PB'
        tinymix set 'WSA_RX0 INP0' 'RX0'
        tinymix set 'WSA_RX1 INP0' 'RX1'
        tinymix set 'WSA_COMP1 Switch' 1
        tinymix set 'WSA_COMP2 Switch' 1
        tinymix set 'SpkrLeft COMP Switch' 1
        tinymix set 'SpkrLeft BOOST Switch' 1
        tinymix set 'SpkrLeft VISENSE Switch' 1
        tinymix set 'SpkrLeft SWR DAC_Port Switch' 1
        tinymix set 'SpkrRight COMP Switch' 1
        tinymix set 'SpkrRight BOOST Switch' 1
        tinymix set 'SpkrRight VISENSE Switch' 1
        tinymix set 'SpkrRight SWR DAC_Port Switch' 1
        Copy to clipboard
2. Enable the DSP audio front-end (AFE) for playback over a SoundWire
          interface.

        tinymix set 'WSA_CDC_DMA_RX_0 Audio Mixer MultiMedia1' 1Copy to clipboard
3. Play the pulse coded modulation (PCM)
          audio.

        tinyplay  <filename.wav > Copy to clipboard

## Stop the audio playback

1. Disable the Rx path.

        tinymix set 'WSA RX0 MUX' 'ZERO'
        tinymix set 'WSA RX1 MUX' 'ZERO'
        tinymix set 'WSA_RX0 INP0' 'ZERO'
        tinymix set 'WSA_RX1 INP0' 'ZERO'
        tinymix set 'WSA_COMP1 Switch' 0
        tinymix set 'WSA_COMP2 Switch' 0
        tinymix set 'SpkrLeft COMP Switch' 0
        tinymix set 'SpkrLeft BOOST Switch' 0
        tinymix set 'SpkrLeft VISENSE Switch' 0
        tinymix set 'SpkrLeft SWR DAC_Port Switch' 0
        tinymix set 'SpkrRight COMP Switch' 0
        tinymix set 'SpkrRight BOOST Switch' 0
        tinymix set 'SpkrRight VISENSE Switch' 0
        tinymix set 'SpkrRight SWR DAC_Port Switch' 0
        Copy to clipboard
2. Disable DSP AFE for audio playback over the SoundWire
          interface.

        tinymix set 'WSA_CDC_DMA_RX_0 Audio Mixer MultiMedia1' 0Copy to clipboard

**Parent Topic:** [Verify audio paths](https://docs.qualcomm.com/doc/80-88500-3/topic/21_Verify_audio_paths.html)

Last Published: Sep 26, 2023

[Previous Topic
Verify audio paths](https://docs.qualcomm.com/bundle/publicresource/80-88500-3/topics/21_Verify_audio_paths.md) [Next Topic
Record through primary MIC (digital MIC)](https://docs.qualcomm.com/bundle/publicresource/80-88500-3/topics/23_Record_through_primary_MIC__digital_MIC_.md)