← Back to team overview

ubuntu-phone team mailing list archive

Re: baresip for BQ E4.5 and M10 with working audio

 

Mixer GUI could be useful, but generally everything should work without it.
You don't want to change the sink volume because that affects all possible
sound sources. The way it works now ist that an app creates a playback
device in pulseaudio and the volume rocker changes the volume of that
specific playback device as long as the app is in focus. That way the
volume can be set differently for each app. In addition there is a slider
to change the ringtone volume in settings. I don't know how this creation
of a playback device and attaching it to the volume rocker is done. The
problem with baresip seems to be that the volume rocker ist not attached to
its pulseaudio playback device. You can list the playback devices with
"pactl list sink-inputs". Could be that if you make a GUI wrapper for
baresip this would work automatically.

On 15 June 2016 at 10:13, Matthias Apitz <guru@xxxxxxxxxxx> wrote:

> El día Tuesday, June 14, 2016 a las 10:30:57PM +0200, Mattias escribió:
>
> > using headphones gives indeed a clear sound. Great! I see in your
> > message from today you also have problems without headphones. I will try
> > to have a look at it as well later this week.
>
> I've played around this morning with the 'call failed' and 'd
> echo@xxxxxxxxx'
> i.e. dialing a working echo service. One can manipulate the volume of
> the audio-out with commands like this:
>
> $ pactl info
> Server String: /run/user/32011/pulse/native
> Library Protocol Version: 30
> Server Protocol Version: 30
> Is Local: yes
> Client Index: 120
> Tile Size: 65496
> User Name: phablet
> Host Name: ubuntu-phablet
> Server Name: pulseaudio
> Server Version: 6.0
> Default Sample Specification: s16le 2ch 44100Hz
> Default Channel Map: front-left,front-right
> Default Sink: sink.primary
> Default Source: source.primary
> Cookie: 50a1:3c1e
>
> $ pactl set-sink-volume sink.primary -50%
> $ pactl set-sink-volume sink.primary -50%
>
> (now no audio at all)
>
> $ pactl set-sink-volume sink.primary +50%
> $ pactl set-sink-volume sink.primary +30%
> $ pactl set-sink-volume sink.primary -30%
> $ pactl set-sink-volume sink.primary -10%
> $ pactl set-sink-volume sink.primary -10%
>
> (now we are at level 30% absolute)
>
> With this last level of volume one can even dial the echo service
> without headset.
>
> I'm wondering why the pulseaudio server, when it exists, has no GUI
> frontend. I will file a bug in LP.
>
>         matthias
>
>
> --
> 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)
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References