Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Forum Updated on Feb 6th

    Unsolved Audio Output Example on Android and iOS is silent

    Mobile and Embedded
    2
    5
    1063
    Loading More Posts
    • 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
      zing0000 last edited by

      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 Reply Quote 0
      • Z
        zing0000 @zing0000 last edited by

        Forgot to mention, I am using Qt5.7.0

        Z 1 Reply Last reply Reply Quote 0
        • SGaist
          SGaist Lifetime Qt Champion last edited by

          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 Reply Quote 0
          • Z
            zing0000 @zing0000 last edited by

            @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 Reply Quote 0
            • SGaist
              SGaist Lifetime Qt Champion last edited by

              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 Reply Quote 0
              • First post
                Last post