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. Audio Output Example on Android and iOS is silent
Qt 6.11 is out! See what's new in the release blog

Audio Output Example on Android and iOS is silent

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 2 Posters 2.0k 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.
  • Z Offline
    Z Offline
    zing0000
    wrote on last edited by
    #1

    I get no audible output on either platform, and I wonder if QAudioOutput APIs are supported.

    I am using Nexus7 with android 6.0.1 and iPhone6 with iOS 10.2.1.

    My own app has a sine generator and meters, so I can see that a signal is generated. I have a device selector that finds the "default" output device. Both this app and the Audio Output example are silent. Both use the QAudioOutput APIs.

    I have an older Android phone and it works perfectly.

    I have another App that uses the QMediaPlayer API for audio and that works on Nexus7.

    Please let me know if you have had more success!

    Z 1 Reply Last reply
    0
    • Z zing0000

      I get no audible output on either platform, and I wonder if QAudioOutput APIs are supported.

      I am using Nexus7 with android 6.0.1 and iPhone6 with iOS 10.2.1.

      My own app has a sine generator and meters, so I can see that a signal is generated. I have a device selector that finds the "default" output device. Both this app and the Audio Output example are silent. Both use the QAudioOutput APIs.

      I have an older Android phone and it works perfectly.

      I have another App that uses the QMediaPlayer API for audio and that works on Nexus7.

      Please let me know if you have had more success!

      Z Offline
      Z Offline
      zing0000
      wrote on last edited by
      #2

      Forgot to mention, I am using Qt5.7.0

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

        Hi,

        Can you check 5.8 since it just got out ?

        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
        • Z zing0000

          Forgot to mention, I am using Qt5.7.0

          Z Offline
          Z Offline
          zing0000
          wrote on last edited by
          #4

          @zing0000

          Here is the xcode output when I run the Audio Output Example

          2017-02-08 19:38:27.316780 audiooutput[1600:1402980] [DYMTLInitPlatform] platform initialization successful
          QPlatformInputContext::inputMethodAccepted() does not match actual focus object IM enablement!
          2017-02-08 19:38:39.645862 audiooutput[1600:1402793] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
          2017-02-08 19:38:39.655261 audiooutput[1600:1402793] [MC] Reading from public effective user settings.
          QPlatformInputContext::inputMethodAccepted() does not match actual focus object IM enablement!
          QPlatformInputContext::inputMethodAccepted() does not match actual focus object IM enablement!
          
          

          The app is running, but is silent. And the volume slider does not work!

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

            Based on the Multimedia backends matrix both platform are supported.

            Silly question but did you check the volume and mute state of your devices ?

            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