Skip to contentSkip to conversation

Query regarding ALSA control interface

DISCUSSION Aditya Shankar 2 participants 3 messages Feb 2, 2007 – Feb 6, 2007 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi All,

I have a small query regarding mixer controls. I work on a custom ARM platform and am trying to get the control interface working.

I have defined a kcontrols structure and have initialized the name field to "Master Capture Route". This does not show up as a control
when i run alsamixer but works well in OSS Emulation mode.

I did a alsactl store and found this in asound.state file..

control.6 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 7 (step 1)'
iface MIXER
name 'Master Capture Route'
value 0
}

The value field is initialized to an integer value in the case off all other controls but here I find it to be 0. Is this the reason why i'm not finding the control in the alsamixer window.? Can anybody let me know? Or Is there a way to get the control component working in both modes using a common name??

Thanks in Advance,
Aditya

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

#3 lore raw
In reply to a message not in the archive

(please don't top-post)

Quoted 3 lines · Aditya Shankar

Thanks for your reply. But my problem is not that I dont see any capture controls. I am not able to get that particular control which I had mentioned in my earlier mail.

Please show the output of "amixer controls" and "amixer scontrols".

Regards,
Clemens

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#4 lore raw
Quoted 5 lines · Clemens Ladisch

(please don't top-post)

Quoted 2 lines · Aditya Shankar

Thanks for your reply. But my problem is not that I dont see any capture controls. I am not able to get that particular control which I had

Quoted 9 lines

mentioned

Quoted 1 line

in my earlier mail.

Please show the output of "amixer controls" and "amixer scontrols".

Regards,
Clemens

Hi Clemens,

The output of amixer controls is as below..

numid=4,iface=MIXER,name='Master Balance Playback Volume' numid=3,iface=MIXER,name='Master Monoconfig Playback Volume' numid=1,iface=MIXER,name='Master Output Playback Volume' numid=2,iface=MIXER,name='Master Playback Volume' numid=6,iface=MIXER,name='Master Capture Route' numid=5,iface=MIXER,name='Master Capture Volume'

The output of amixer scontrols is

Simple mixer control 'Master',0
Simple mixer control 'Master Balance',0
Simple mixer control 'Master Monoconfig',0
Simple mixer control 'Master Output',0

Please let me know what you think..

Regards,
Aditya

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel