[alsa-devel] ALSA UCM

abraham duenas aduejazz at gmail.com
Wed Nov 3 21:38:15 CET 2010


Hello,

I recently cloned:
git clone git://git.alsa-project.org/alsa-lib.git alsa-lib
git clone git://git.alsa-project.org/alsa-utils.git alsa-utils
and switched to the "ucm" branch to give it try. I have a panda board
(pandaboard.org it is just a TI OMAP4 platform).

I created some configuration files for my card. My conf file is
'SDP4430.conf' and my verb is on 'hifi'.
I came with a simple program to set my verb and configure it for a
simple device. I'm calling this sequence:
1. open it.... snd_use_case_mgr_open(&uc_mgr,"SDP4430")
2. reset it ....snd_use_case_mgr_reset(uc_mgr)
3. query for my verb.... snd_use_case_get_list(uc_mgr,"_verbs",&mylist)
4. set my verb ... snd_use_case_set(uc_mgr,"_verb",*mylist)
5. set my created device... snd_use_case_set(uc_mgr,"_enadev","Headset.0")
6. close it... snd_use_case_mgr_close(uc_mgr)

Seems to work ok (without any errors) but I can't see any of my amixer
controls set/changed accordingly to my verb/device.
Is this a right sequence to follow? may be my files are not well written?

Thanks for your help!
Abraham
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hifi
Type: application/octet-stream
Size: 1212 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20101103/d2eed2eb/attachment.dll 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SDP4430.conf
Type: application/octet-stream
Size: 2723 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20101103/d2eed2eb/attachment-0001.dll 


More information about the Alsa-devel mailing list