rafaelmardojai / blanket

Listen to different sounds
GNU General Public License v3.0
1.35k stars 103 forks source link

Shows too many lines in Gnome Settings #82

Open BrunoVernay opened 3 years ago

BrunoVernay commented 3 years ago

In Gnome Settings there is one line per Blanket sound. There should be only one general volume for Blanket here. image

Using Gnome 3.38.2 on Fedora 33

rafaelmardojai commented 3 years ago

I can't do anything, for example web browsers also show one line per video/audio playing. I don't know if GStreamer allows me to merge different sounds into one player.

Maybe GNOME could group volume bars per app?

BrunoVernay commented 3 years ago

I guess it should be possible to mixdown to stereo inside Blancket to present only a stereo output to the outside.

I use many sounds together, that is why this jumped at me, but it is a minor issue. Feel free to postpone to next year :-)

SeaDve commented 3 years ago

I can't do anything, for example web browsers also show one line per video/audio playing. I don't know if GStreamer allows me to merge different sounds into one player.

You could possibly create a custom pipeline. You can use audiomixer (a gst element) to join multiple audiostreams, this could also possibly make it more efficient, since you are essentially just playing with a single pipeline/player.

rafaelmardojai commented 3 years ago

You could possibly create a custom pipeline. You can use audiomixer (a gst element) to join multiple audiostreams, this could also possibly make it more efficient, since you are essentially just playing with a single pipeline/player.

Yep, I checked audiomixer recently, but didn't have time to try. Soon I will have time to work on some Blanket issues.

C-512L commented 3 months ago

@rafaelmardojai Friendly ping. Has there been any progress on #313?

rafaelmardojai commented 3 months ago

@C-512L Right now is a a bit blocked because I have found some difficulties to correctly implement looping with audio mixing. Right now the implementation of that PR works but has performance issues, I have do have some fixes for that locally but looping has bugs.

So I probably need some time to understand GStreamer more deeply to be able to push this further, but right now I lack that time.