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. Qsound in ubuntu
Qt 6.11 is out! See what's new in the release blog

Qsound in ubuntu

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 2 Posters 5.5k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi,

    I using ubuntu desktop developing application for my embedded systems. When I tried QSound in Ubuntu desktop it doesn't worked. So I checked as follows. I gave output as false.

    @
    static QSound mysound("/media/sounds/Music.wav"); //The path of sound file is absolute.
    qDebug() << mysound.isAvailable();
    @

    So my questions are:

    Does QSound is available for desktop versions such as ubuntu?
    Or I am doing anything wrong?

    Regards,
    Sathishkumar D

    [EDIT: code formatting, please use @-tags, Volker]

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dangelog
      wrote on last edited by
      #2

      Don't use QSound at all. Use phonon or Qt Multimedia if they fit your needs, otherwise any other sound library will do.

      Software Engineer
      KDAB (UK) Ltd., a KDAB Group company

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Thanks Peppe,

        My platform supports QtMultimedia. I going to use that.

        Regards,
        Sathishkumar D

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          In between driven by curiosity, whats the problem with QSound? Why it doesn't working? (Just ignore this post, if it is irrelevant)

          Regards,
          Sathishkumar D

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dangelog
            wrote on last edited by
            #5

            It's old, bugged, supports basically one file format, has a cumbersome API, and requires NAS under Linux (which is something that isn't installed by default since like 1999).

            Software Engineer
            KDAB (UK) Ltd., a KDAB Group company

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              Thanks Peppe.

              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