Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Playing multiple simultaneous sounds on N9
Forum Updated to NodeBB v4.3 + New Features

Playing multiple simultaneous sounds on N9

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 2.7k Views 1 Watching
  • 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.
  • M Offline
    M Offline
    m_p_wilcox
    wrote on last edited by
    #1

    I'm porting a Qt-based game from Symbian to the N9. Aside from some scaling and some window management oddities, most of it ports fairly trivially. Unfortunately sounds don't work as they should.

    First, QML audio in the menus doesn't start as it should on launch of the app, going back into a menu from the main game later seems to work - this is plain QML, not using Qt Quick components (anyone know a quick fix for that?).

    Much more of a problem - I can't seem to play two sounds at the same time (background music and sound effects). If I start a second QMediaPlayer the first one stops. I can't find the restrictions documented anywhere. Surely the GStreamer backend on MeeGo is more capable than this? Other that including my own mixing engine, as in the DJ Turntable example on Nokia Projects, does anyone know how to make this work?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      miroslav
      wrote on last edited by
      #2

      GStreamer on the N9/N950 can definitely play multiple sounds at the same time. It does require some mixed Qt/GTK coding, and is not trivial. Last I looked at QMediaPlayer and friends, it did not look that mature to me.

      Mirko Boehm | mirko@kde.org | KDE e.V.
      FSFE Fellow
      Qt Certified Specialist

      1 Reply Last reply
      0
      • M Offline
        M Offline
        m_p_wilcox
        wrote on last edited by
        #3

        Thanks. I know GStreamer can play multiple sounds, I just thought the GStreamer backend for QMediaPlayer might be a bit more capable. QMediaPlayer on Symbian works really well.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved