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. No audio devices available on Android !!

No audio devices available on Android !!

Scheduled Pinned Locked Moved Mobile and Embedded
24 Posts 9 Posters 10.6k Views
  • 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.
  • GianlucaG Offline
    GianlucaG Offline
    Gianluca
    wrote on last edited by
    #12

    Hello everyone,
    the Qt 5.2 alpha is out... I didn't tried yet, so I don't know if they implemented the AudioInput and AudioOutput.
    Do someone in this thread tried the AudioInput/Output with Qt 5.2 alpha ??
    The problem above has been resolved ??

    Cheers,
    Gianluca.

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

      We need to wait for Qt 5.2 official release to get the Multimedia support for Android devices.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        muaddib
        wrote on last edited by
        #14

        I have tried the 5.2 beta released today, but I still get no devices. Should it have been supported in the beta or do we have to wait for the final release?

        Andreas

        1 Reply Last reply
        0
        • GianlucaG Offline
          GianlucaG Offline
          Gianluca
          wrote on last edited by
          #15

          :-( that's a really bad news !!
          I cannot understand why there is still this problem.
          In the page of the 5.2 features it is clearly stated that the low-latency audio was added.
          http://qt-project.org/wiki/New-Features-in-Qt-5.2
          At that page, near the bottom, there is the section with Android and iOS where it is been declared that the audio was supported.

          So, again, my question is: "What they mean for supporting low-latency audio if there is no possibility to use because we still get no devices ??"
          Please, can someone involved into the Qt development answer to this question, and how they tested audio features on android and iOS without any devices available ??

          1 Reply Last reply
          0
          • P Offline
            P Offline
            Pierrot
            wrote on last edited by
            #16

            Hello,
            same problem for me (Windows 7 + Qt5.2 Beta + Android deployment on several different devices). Question for muaddib and Gianluca: what environment do you use (Linux/Windows/Mac) ? Could this bug be related to QTBUG-34275 ?
            Maybe the problem does not occur on Linux/Mac ?
            A simple way to show the problem is to compile the 'examples/multimedia/audiooutput' project. It works fine when compiled on desktop (audio devices appear in the QComboBox), but not on Android device.

            1 Reply Last reply
            0
            • GianlucaG Offline
              GianlucaG Offline
              Gianluca
              wrote on last edited by
              #17

              On Linux and Mac I cannot even build and run the audiooutput example :-(

              On Mac, it seems that iOS lacks completly the multimedia module :-(
              On Linux, it comply that it did not find Qt5Quick.so library ... but the audiooutput it is not a Quick application :-(

              1 Reply Last reply
              0
              • GianlucaG Offline
                GianlucaG Offline
                Gianluca
                wrote on last edited by
                #18

                Some news !
                After struggling a bit for compile the audioinput and audiooutput on linux for android ... I successful run the two example and they found various input/output devices.

                So, it seems that Audio Input and Output works on Android if the app has been built from a linux machine.

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  muaddib
                  wrote on last edited by
                  #19

                  I am on windows 7 as well and deploying on a Nexus 4. The bug looks relevant, but I couldn't find any references to opensles in any of the logs when building or deploying.

                  1 Reply Last reply
                  0
                  • L Offline
                    L Offline
                    leo chen
                    wrote on last edited by
                    #20

                    hello,I come across the same issue ,how to deal with? i am on win32.

                    [quote author="Gianluca" date="1382634372"]Some news !
                    After struggling a bit for compile the audioinput and audiooutput on linux for android ... I successful run the two example and they found various input/output devices.

                    So, it seems that Audio Input and Output works on Android if the app has been built from a linux machine.
                    [/quote]

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      Pierrot
                      wrote on last edited by
                      #21

                      well played Gianluca, on my side unfortunately I don't have Linux or Mac environment to test Android deployment.
                      muaddib, me neither I don't see any reference to opensl, but when I build I have this warning 'Warning: Dependency not found: C:/Qt/Qt5.2.0/5.2.0-beta1/android_armv7/plugins/audio', and in the bug I mentioned, the description talks about a problem in 'plugins/audio' for Windows, I don't know if this is linked.
                      I also tried yesterday's last snapshot (2013-10-24_112) and the problem is still there.

                      1 Reply Last reply
                      0
                      • GianlucaG Offline
                        GianlucaG Offline
                        Gianluca
                        wrote on last edited by
                        #22

                        Because it works on my linux machine, I think that you are blocked by the bug mentioned above: https://bugreports.qt-project.org/browse/QTBUG-34275
                        So, you don't have any alternative but wait for Qt 5.2.0 RC1

                        1 Reply Last reply
                        0
                        • P Offline
                          P Offline
                          Pierrot
                          wrote on last edited by
                          #23

                          Hi all,
                          just to inform you that the problem was resolved on Windows by downloading the latest Qt5.2 Beta snapshot (2013-11-01_126/). The audio device is now recognized and I can play audio files.

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            messi
                            wrote on last edited by
                            #24

                            Hi all
                            strange is that my audio is working with the precompiled Qt5.2 Beta1 for android.
                            I habe a Huawei Tablet with android 4.1.2
                            Video is partly working but with stutter/judder.
                            I'm building now fresh from git and will tell you tomorrow my results.

                            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