AES params with dmix
Caner Altinbasak via Alsa-user <[email protected]> Wed, 28 Dec 2022 15:12:48 +0000
| Newsgroups | gmane.linux.alsa.user |
|---|---|
| Message-ID | <SJ0PR22MB331380D7659287AF653D9C1CDAF29@SJ0PR22MB3313.namprd22.prod.outlook.com> |
--===============7509614913837802642==
Content-Language: en-US
Content-Type: multipart/alternative;
boundary="_000_SJ0PR22MB331380D7659287AF653D9C1CDAF29SJ0PR22MB3313namp_"
--_000_SJ0PR22MB331380D7659287AF653D9C1CDAF29SJ0PR22MB3313namp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi!
I am trying to set up hdmi pass through with dmix plugin. dmix plugin can o=
nly 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=3D0,"
"AES0=3D" $AES0 ","
"AES1=3D" $AES1 ","
"AES2=3D" $AES2 ","
"AES3=3D" $AES3
]
}
}
rate 48000
period_size 1024
buffer_size 16384
}
}
If I refer to hw directly in slave, then I need to define the AES parameter=
s through hooks. But I cannot define ctl_elems hook, since hooks are separa=
te 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 em=
ail and contact information for the reasons you sent them to us and for tra=
cking how effectively we respond to your requests.
--_000_SJ0PR22MB331380D7659287AF653D9C1CDAF29SJ0PR22MB3313namp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);">Hi!</span></div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);"><br>
</span></div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);">I am trying to set up hdmi pass through with dmix p=
lugin. dmix plugin can only be connected
to hw plugin. I tried the following and it didn't work:</span></div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);"><br>
</span></div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);" class=3D"ContentPasted0">pcm.hdmi1_dmix { &n=
bsp;
<div class=3D"FluidPluginCopy ContentPasted0"> @a=
rgs [ AES0 AES1 AES2 AES3 ]</div>
<div class=3D"FluidPluginCopy ContentPasted0"> @args.AES0 { &n=
bsp; </div>
<div class=3D"FluidPluginCopy ContentPasted0"> type int=
eger </div>
<div class=3D"FluidPluginCopy ContentPasted0"> default =
0 </div>
<div class=3D"FluidPluginCopy ContentPasted0"> } =
</div>
<div class=3D"FluidPluginCopy ContentPasted0"> @args.AES1 { &n=
bsp; </div>
<div class=3D"FluidPluginCopy ContentPasted0"> type int=
eger</div>
<div class=3D"FluidPluginCopy ContentPasted0"> default =
0 &nb=
sp; </div>
<div class=3D"FluidPluginCopy ContentPasted0"> } =
</div>
<div class=3D"FluidPluginCopy ContentPasted0"> @args.AES2 { &n=
bsp; </div>
<div class=3D"FluidPluginCopy ContentPasted0"> type int=
eger </div>
<div class=3D"FluidPluginCopy ContentPasted0"> default =
0 </div>
<div class=3D"FluidPluginCopy ContentPasted0"> } =
&nbs=
p; </div>
<div class=3D"FluidPluginCopy ContentPasted0"> @args.AES3 { &n=
bsp; </div>
<div class=3D"FluidPluginCopy ContentPasted0"> type int=
eger </div>
<div class=3D"FluidPluginCopy ContentPasted0"> default =
1 </div>
<div class=3D"FluidPluginCopy ContentPasted0"> } =
</div>
<div class=3D"FluidPluginCopy ContentPasted0"> &=
nbsp; =
</div>
<div class=3D"FluidPluginCopy ContentPasted0"> &=
nbsp; </div>
<div class=3D"FluidPluginCopy ContentPasted0"> &=
nbsp; =
</div>
<div class=3D"FluidPluginCopy ContentPasted0"> type dmix  =
; </div>
<div class=3D"FluidPluginCopy ContentPasted0"> ipc_key 1025 &n=
bsp; </div>
<div class=3D"FluidPluginCopy ContentPasted0"> slave { =
</div>
<div class=3D"FluidPluginCopy ContentPasted0"> p=
cm </div>
<div class=3D"FluidPluginCopy ContentPasted0"> {=
&nbs=
p; </div>
<div class=3D"FluidPluginCopy ContentPasted0"> &=
nbsp; @func refer</div>
<div class=3D"FluidPluginCopy ContentPasted0"> &=
nbsp; name {</div>
<div class=3D"FluidPluginCopy ContentPasted0"> &=
nbsp; @func concat</div>
<div class=3D"FluidPluginCopy ContentPasted0"> &=
nbsp; strings [</div>
<div class=3D"FluidPluginCopy ContentPasted0"> &=
nbsp; "cards.HDA-Intel.pcm.hdmi.4:&=
quot;</div>
<div class=3D"FluidPluginCopy ContentPasted0"> &=
nbsp; "CARD=3D0,"</div>
<div class=3D"FluidPluginCopy ContentPasted0"> &=
nbsp; "AES0=3D" $AES0 ",&=
quot; </div>
<div class=3D"FluidPluginCopy ContentPasted0"> &=
nbsp; "AES1=3D" $AES1 ",&=
quot;</div>
<div class=3D"FluidPluginCopy ContentPasted0"> &=
nbsp; "AES2=3D" $AES2 ",&=
quot;</div>
<div class=3D"FluidPluginCopy ContentPasted0"> &=
nbsp; "AES3=3D" $AES3</div>
<div class=3D"FluidPluginCopy ContentPasted0"> &=
nbsp; ] &nbs=
p; </div>
<div class=3D"FluidPluginCopy ContentPasted0"> &=
nbsp; } &nbs=
p; </div>
<div class=3D"FluidPluginCopy ContentPasted0"> }=
</div>
<div class=3D"FluidPluginCopy ContentPasted0"> r=
ate 48000</div>
<div class=3D"FluidPluginCopy ContentPasted0"> p=
eriod_size 1024 </div>
<div class=3D"FluidPluginCopy ContentPasted0"> b=
uffer_size 16384</div>
<div class=3D"FluidPluginCopy ContentPasted0"> } =
&nbs=
p; </div>
} <br>
</span></div>
<div class=3D"elementToProof"><br>
</div>
<div class=3D"elementToProof" style=3D"font-family: Calibri, Arial, Helveti=
ca, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb=
(255, 255, 255);">
If I refer to hw directly in slave, then I need to define the AES parameter=
s through hooks. But I cannot define ctl_elems hook, since hooks are separa=
te type. <span style=3D"color: rgb(0, 0, 0); font-family: Calibri, Ari=
al, Helvetica, sans-serif; font-size: 12pt;">I
am stuck. Is this even possible?</span></div>
<div class=3D"elementToProof" style=3D"font-family: Calibri, Arial, Helveti=
ca, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb=
(255, 255, 255);">
<span style=3D"color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica,=
sans-serif; font-size: 12pt;"><br>
</span></div>
<div class=3D"elementToProof" style=3D"font-family: Calibri, Arial, Helveti=
ca, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb=
(255, 255, 255);">
<span style=3D"color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica,=
sans-serif; font-size: 12pt;">Caner Altinbasak</span></div>
<div class=3D"elementToProof" style=3D"font-family: Calibri, Arial, Helveti=
ca, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb=
(255, 255, 255);">
<br>
</div>
<div class=3D"elementToProof" style=3D"font-family: Calibri, Arial, Helveti=
ca, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb=
(255, 255, 255);">
<br>
</div>
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 em=
ail and contact information for the reasons you sent them to us and for tra=
cking how effectively we respond
to your requests.
</body>
</html>
--_000_SJ0PR22MB331380D7659287AF653D9C1CDAF29SJ0PR22MB3313namp_--
--===============7509614913837802642==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============7509614913837802642==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user
--===============7509614913837802642==--