• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Audio integration with the host OS

Scheduled Pinned Locked Moved Libertine
1 Posts 1 Posters 181 Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 3 Offline
      3x5
      last edited by 18 Oct 2022, 00:37

      Hi there, I only have one desktop app I simply must have on my ubports phone, which is gmusicbrowser, my music player. I have gotten it to run, and to play music, and that's great. When I connect to bluetooth in my car, gmusicbrowser automatically connects and plays through the bluetooth—awesome!

      However, the system volume does not control the volume of the music app that's inside the Libertine container. When I try to control the volume from within gmusicbrowser itself, it says the volume is set to -1% and I can't adjust it.

      gmusicbrowser supports multiple audio output methods: gstreamer, mpg123, mplayer, and mpv. I'm currently using mplayer because it worked, and gstreamer didn't work because it couldn't detect an output device.

      It looks like ubports uses pulseaudio, which makes me think I should be able to output from gmusicbrowser to the host pulseaudio and then control it like any other audio app. I have seen people talk in this forum about running pavucontrol within Libertine, and maybe that is the solution—I don't know.

      In addition to volume, I'd like to be able to use the play, pause, next and previous buttons in ubports' pull-down controls.

      1 Reply Last reply Reply Quote 0
      1 out of 1
      • First post
        1/1
        Last post