i.MX6Q Sabre Automotive Infotainment: analog audio outputs issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6Q Sabre Automotive Infotainment: analog audio outputs issue

784 Views
Igor
Contributor III

Hi all,

I'm using i.MX6Q Sabre Automotive Infotainment CPU and Base boards with Ubuntu operating system.

The Sabre AI Base board has eight analog audio outputs  (audio codec is CS42888).

Currently with Gstreamer, I can manage two audio "sinks": the first is hdmi audio channel and the second is the audio codec  (CS42888) .

The issue is that I don't understand how to select the different analog outputs of the audio codec using gstreamer: currently only the first two channels are enabled (Base board connector “J26-3”).

How can I manage the other six channels of the audio codec using Gstreamer?

Please, could anyone give me some advice?

Thanks in advance,

Igor

Labels (3)
0 Kudos
1 Reply

489 Views
Igor
Contributor III

Hi all,

I discovered the existence of the file "asound.conf"....:smileylaugh:

Modifying properly that file, I have set two independent stereo channels:

######################asound.conf########################

pcm.dshare {

    type dmix

    ipc_key 2048

    slave {

        pcm "hw:0"

        rate 44100

        period_time 0

        period_size 1024

        buffer_size 8192

        channels 4

    }

    bindings {

        0 0

        1 1

        2 2

        3 3

    }

}

pcm.rightx {

    type plug

    slave {

        pcm "dshare"

        channels 4

    }

    ttable.0.0 1

    ttable.1.1 1

}

pcm.leftx {

    type plug

    slave {

        pcm "dshare"

        channels 4

    }

    ttable.0.2 1

    ttable.1.3 1

}

############################################################

I have found the information at this link: http://alsa.opensrc.org/.asoundrc

Igor