Comments (4)
@z3ntu sorry about the sparse documentation -- the examples were meant to help get started. I wrote about some of the concepts and motivation at https://arunraghavan.net/2016/01/audio-devices-and-configuration/
I see you found where ALSA picks up UCM files from.
Feel free to ask more questions here.
from xml2ucm.
As I never did anything with UCM/ALSA before, all the terms are pretty confusing (although I know the word "use case" in context of project management^^)
from xml2ucm.
localhost:~# alsaucm -c msm8974-taiko-mtp-snd-card -i
ALSA lib main.c:438:(execute_sequence) unable to execute cset 'name='SLIMBUS_0_RX Port Mixer INT_BT_SCO_TX' 0'
ALSA lib main.c:536:(import_master_config) Unable to execute default sequence
ALSA lib main.c:946:(snd_use_case_mgr_open) error: failed to import msm8974-taiko-mtp-snd-card use case configuration -2
alsaucm: error failed to open sound card msm8974-taiko-mtp-snd-card: No such file or directory
After removing the line with SLIMBUS_0_RX Port Mixer INT_BT_SCO_TX
and INTERNAL_BT_SCO_RX Audio Mixer Multimedia6
from my /usr/share/alsa/ucm/msm8974-taiko-mtp-snd-card/msm8974-taiko-mtp-snd-card.conf, I can finally launch alsaucm
(I began writing the above comment because I wanted help but apparently I managed to work around it myself)
Now aplay is still throwing errors: aplay: main:807: audio open error: Invalid argument
. Any idea how I could find out why it's doing that? (maybe some magic command that tells me? ^^)
from xml2ucm.
Hmm, the invalid argument will need more looking at. See what parameters don't work. For the mixer controls, unfortunately, the set of mixer controls varies from kernel to kernel (I don't know if any of this is upstream), and probably based on the platform itself. When I wrote this, it was all done blind without access to any spec sheets. If you have these, it'll probably be a lot easier going.
from xml2ucm.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xml2ucm.