Hi!

I am trying to set up hdmi pass through with dmix plugin. dmix plugin can only 
be connected to hw plugin. I tried the following and it didn't work:

pcm.hdmi1_dmix {
       @args [ AES0 AES1 AES2 AES3 ]
    @args.AES0 {
      type integer
      default 0
    }
    @args.AES1 {
      type integer
      default 0
    }
    @args.AES2 {
      type integer
      default 0
    }
    @args.AES3 {
      type integer
      default 1
    }



    type dmix
    ipc_key 1025
    slave {
        pcm
        {
            @func refer
            name {
                @func concat
                strings [
                    "cards.HDA-Intel.pcm.hdmi.4:"
                    "CARD=0,"
                    "AES0=" $AES0 ","
                    "AES1=" $AES1 ","
                    "AES2=" $AES2 ","
                    "AES3=" $AES3
                ]
            }
        }
        rate 48000
        period_size 1024
        buffer_size 16384
    }
}

If I refer to hw directly in slave, then I need to define the AES parameters 
through hooks. But I cannot define ctl_elems hook, since hooks are separate 
type. I am stuck. Is this even possible?

Caner Altinbasak


BrightSign considers your privacy to be very important. The emails you send to 
us will be protected and secured. Furthermore, we will only use your email and 
contact information for the reasons you sent them to us and for tracking how 
effectively we respond to your requests.
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to