← Back to team overview

touch-packages team mailing list archive

[Bug 1534776] Re: Notification sounds cause multimedia to pause

 

The problem here is that we can not use MediaPlayer.alert since it has
never really worked, see https://bugreports.qt.io/browse/QTBUG-46758
that shows that lowercase enums just do not work.

I guess prior to OTA9 this worked because the media-hub was less picky
about stopping one audio while playing another.

My suggested fix is that we add the uppercase variants of the enums in
src/imports/multimedia/qdeclarativeaudio_p.h of qtmultimedia-opensource-
src-5.4.1and then we can fix unity8 to use MediaPlayer.Alert.

I have tried that on my phone locally and fixes the issue (though it
won't fix any other place that was trying to use MediaPlayer.alert).

Is this a valid solution?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1534776

Title:
  Notification sounds cause multimedia to pause

Status in Canonical System Image:
  In Progress
Status in media-hub package in Ubuntu:
  Invalid
Status in qtubuntu-media package in Ubuntu:
  Invalid
Status in unity8 package in Ubuntu:
  In Progress

Bug description:
  Screenshot audio is not using alert role causing music to stop

  What happened:
  1) Open the music-app and play some music
  2) Take a screenshot
  3) Notice when the audio plays that the music stops

  What was expected to happen:
  At step 3 for the music to 'duck' while the alert is being played and then continue afterwards

  It looks like the role is being attempted to be set here [0] but
  doesn't appear to be working

  $ system-image-cli -i
  current build number: 210
  device name: mako
  channel: ubuntu-touch/rc-proposed/bq-aquaris.en
  last update: 2016-01-14 12:05:49
  version version: 210
  version ubuntu: 20160114
  version device: 20160112
  version custom: mako-1.1

  0 - http://bazaar.launchpad.net/~unity-
  team/unity8/trunk/view/head:/qml/Components/NotificationAudio.qml

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1534776/+subscriptions


References