ALSA UCM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: hifi
Description: Binary data

Attachment: SDP4430.conf
Description: Binary data

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux