We have moved to a new Sailfish OS Forum. Please start new discussions there.
3

Simultaneous sounds

asked 2018-07-26 16:49:36 +0300

Keeper-of-the-Keys gravatar image

updated 2018-07-26 17:12:09 +0300

This is slightly similar to this very old question but not the same: https://together.jolla.com/question/129538/why-cant-my-jolla-play-two-sounds-simultaneously/

I have noticed recently that it seems a lot off programs that output sounds don't seem to play nicely together, I don't know if this a configuration issue or something that sits deeper, programs that I played with:

  • Media/gPodder + MeeRun (native) - when MeeRun plays a notification Media/gPodder gets paused and does not resume
  • Media/gPodder + Waze - Waze notifications are never played/heard
  • phone conversation + Waze - same as above, I can imagine that this is a personal preference but when I'm driving in a place I don't know I'd like to not need to look at the screen and endanger myself and everyone around me just because I am having a phone conversation.
  • Sailcast actually seemed to pause/resume well from what I remember but I switched to gPodder due to it being more well rounded.
  • AllRadio always seems to blow up when it starts failing but that may also just be the application.

As far as I'm concerned the Waze use case is probably the most important to a lot of users, the MeeRun case will probably be more variable.

edit retag flag offensive close delete

Comments

1

No, perhaps your question is not the same as the original one, but in essence the problem is exactly the same; "sounds not playing nicely together" regardless of the apps in question - all said and done, I cannot offer any help, this seems like a general problem/bug for SailfishOS as a whole - this is of course, just my opinion.

Spam Hunter ( 2018-07-26 18:44:13 +0300 )edit

But it's not like that for everything, playing a video/sound in the browser does play nicely with some other applications (Media/gPodder but not waze) and mixes so that leaves the question is it the way the applications ask for sound output or is it something at the OS level, can Jolla maybe announce the proper way for sound output to be done so that it will be mixed (after all pulseaudio which the phone uses is definitely capable of mixing a lot of sound sources together).

Keeper-of-the-Keys ( 2018-07-26 19:01:30 +0300 )edit

I noticed something interesting - occasionally, when MeeRun starts wrong I guess, it will play together with other streams, but I have not been able to consistently reproduce this :/

Keeper-of-the-Keys ( 2018-08-30 10:43:14 +0300 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2018-07-27 10:12:15 +0300

leszek gravatar image

It is the configuration of pulseaudio that sets this behavior. Changing this requires some editing of pulseaudio configuration files. I am not sure it is that easily done.

edit flag offensive delete publish link more

Comments

2

There are some different Qt interfaces application developers can use to help the situation though.

eg. QMediaPlayer will stop other players, QSoundEffect wont.

For things like short notifications QSoundEffect should be used

r0kk3rz ( 2018-07-27 18:43:18 +0300 )edit
1

answered 2018-07-30 23:23:07 +0300

nesnomis gravatar image

AllRadio always seems to blow up when it starts failing but that may also just be the application.

I do not recognize the problems about AllRadio you describe here, but it sounds pretty dangerous? I don't want things to blow up!! :)

It would be really nice if you could describe the problems a little better here:

https://github.com/nesnomis/harbour-allradio/issues

Apart from that, media players will (should) always pause the music if another media player starts. The only exception is correctly executed notification sounds. (as it was pointed out in another answer).

edit flag offensive delete publish link more

Comments

Sorry that sounded so dramatic, on my Jolla1 which is a lot weaker then the Xperia X I seem to have had more issues with AllRadio then I have now on the Xperia X.

It does still not autoresume when it gets interrupted but other then that I haven't had gstreamer or other unknown issues interfering with playback in a while. I will definitely try to file bugs when I have time.

And thank you for the nice program!

Keeper-of-the-Keys ( 2018-08-30 10:31:41 +0300 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2018-07-26 16:49:36 +0300

Seen: 447 times

Last updated: Jul 30 '18