Messages in this thread | | | Date | Wed, 28 Mar 2018 11:00:31 +0200 | From | Pavel Machek <> | Subject | Re: omap4-droid4: voice call support was Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard |
| |
Hi!
> > I can talk to the modem and start a call. > > Doing an AT query is the easy part :) > > > Then something like this (untested!) is certainly needed. > > Probably more... > > I intentionally left this part out. The CPCAP codec has two DAIs > and not 3+. The code you just added is a hack from Motorola. Their > driver is full of hacks and it's obvious its author(s) did not > fully understand the ASoC APIs. > > My understanding is, that we only need to replace the audio-graph-card > driver to something more complex. The VOICE DAI needs to be configured > differently based on the use case:
Does the voice part work for you? I configured all the mixers to voice, and then am using
sudo aplay -D plughw:CARD=Audio,DEV=1 /usr/share/sounds/alsa/Front_Center.wav -r 16000 X11 connection rejected because of wrong authentication. xcb_connection_has_error() returned true Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono user@devuan:/my/tui/rweb$
to play the test sound. But I get white noise, not a test sound :-(. [This also shows problem with card naming.]
Any ideas? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html [unhandled content-type:application/pgp-signature] | |