← Back to team overview

ubuntu-phone team mailing list archive

Re: [Re-devel] Fwd: Re: sip softphone

 

(I have detached the baresip mailing list from the thread, because it's
more an issue of our phone)

El día Sunday, May 29, 2016 a las 05:09:32PM +0200, Reiner Klenk escribió:

> Could be a problem with sample rates or sample format. I poked around a bit
> and it seems that the phone or tablet has a really complicated setup of
> ALSA. Some of the magic may be happening inside the android container and
> there may be hardware acceleration for encoding/decoding for different
> codecs in the chipset. You can see the available ALSA devices with aplay
> -lL, arecord -lL, amixer. There are more than twenty devices for playback.
> And umpteen switches and parameters in the mixer. Without expert advice
> this will be difficult to tackle. On the pulseaudio side things look more
> straightforward. "pactl list short sinks" lists only two devices, a default
> one and one probably for bluetooth. At the moment your chain is something
> like ALSA default  => pulseaudio => ALSA => HAL => Hardware. Your program
> talks to ALSA where the default devices are defined as pulseaudio.
> Pulseaudio has the  modules  module-droid-discover and module-droid-card-22
> loaded which presumably talk to drivers within the android container (pactl
> list modules). The drivers in the android container are ALSA (kernel and/or
> userspace) modules talking to android's hardware abstraction layer (HAL).
> Lots of possibilities for things to go wrong in the chain.

There is not much info these commands spill out on the BQ E4.5 device:

phablet@ubuntu-phablet-bq:~$ aplay -lL
default
    Playback/recording through the PulseAudio sound server
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
aplay: device_list:268: no soundcards found...
phablet@ubuntu-phablet-bq:~$ arecord -lL
default
    Playback/recording through the PulseAudio sound server
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
arecord: device_list:268: no soundcards found...
phablet@ubuntu-phablet-bq:~$ amixer
amixer: Mixer attach default error: No such file or directory
phablet@ubuntu-phablet-bq:~$ pavucontrol
-bash: pavucontrol: command not found



-- 
Matthias Apitz, ✉ guru@xxxxxxxxxxx, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045
"Die Verkaufsschlager des Buchmarkts geben Auskunft über den Zustand einer Gesellschaft bzw.
sind, was diese Zeiten angeht, Gradmesser fortschreitenden Schwachsinns. ..." (jW 19.05.2016)


References