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. QSoundEffect and iOS (Low Latency sound format)
Qt 6.11 is out! See what's new in the release blog

QSoundEffect and iOS (Low Latency sound format)

Scheduled Pinned Locked Moved Mobile and Embedded
14 Posts 4 Posters 4.4k 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.
  • Q Offline
    Q Offline
    q8phantom
    wrote on last edited by
    #2

    Hello,

    I hope someone will be able to help, I would appreciate the feedback.

    Bests,
    Ahmed

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      q8phantom
      wrote on last edited by
      #3

      Actually, What I've found at the Qt sources is the problem I guess

      https://qt.gitorious.org/qt/qtmultimedia/source/02245571bf13e29512f096d1566d6107d5a229de:src/plugins/coreaudio/coreaudiooutput.mm#L559

      Look at the function

      @
      void CoreAudioOutput::setVolume(qreal volume)
      {
      const qreal normalizedVolume = qBound(qreal(0.0), volume, qreal(1.0));
      m_cachedVolume = normalizedVolume;
      if (!m_isOpen) {
      return;
      }
      //TODO: actually set the output volume here
      //To set the output volume you need a handle to the mixer unit
      }@

      Seems that it is not done, setVolume method isn't working with QSoundEffect

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

        I recently ran into the same problem, but the problem was that coreaudio played audio through the earpiece instead of the speakers.

        It seems the default category is set to "PlayAndRecord"

        https://qt.gitorious.org/qt/qtmultimedia/source/02245571bf13e29512f096d1566d6107d5a229de:src/plugins/coreaudio/coreaudiosessionmanager.mm#L214

        Changing it to "Playback" seems to play back sounds with full volume.

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

          I am currently facing the same problem with the volume. How did you change the category from "PlayAndRecord" to "Playback"?

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

            I am currently facing the same problem with the volume. How did you change the category from "PlayAndRecord" to "Playback"?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #7

              Hi,

              He changed Qt's source code and build it

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #8

                Hi,

                He changed Qt's source code and build it

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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

                  Thanks ;). I thought that there is maybe a way to get access to the CoreAudio* modules during development without having to recompile.

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

                    Thanks ;). I thought that there is maybe a way to get access to the CoreAudio* modules during development without having to recompile.

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

                      Bug report + fix: https://bugreports.qt.io/browse/QTBUG-44757

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

                        Bug report + fix: https://bugreports.qt.io/browse/QTBUG-44757

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #13

                          You should send your patch for review on gerrit

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #14

                            You should send your patch for review on gerrit

                            Interested in AI ? www.idiap.ch
                            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                            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