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. Is it possible to have Qt 5.5 Andriod using ALSA backend for sound?
Forum Updated to NodeBB v4.3 + New Features

Is it possible to have Qt 5.5 Andriod using ALSA backend for sound?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 696 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.
  • N Offline
    N Offline
    nixon
    wrote on last edited by
    #1

    This may sound stupid. Is it possible to have Qt 5.5 Andriod using ALSA backend for sound? I know Qt Android uses openES for sound by default. But I like to reuse low level sound code which uses ALSA. I've compiled Qt5.5 for Android from source. The .configure added -alsa to have ALSA support to be turned on. The build was successful. But I do not know a way to verify whether there is ALSA support. And, I got an error building my android project code says #include <alsa/asoundlib.h> is not found. but this file is actually in /usr/include/alsa/ directory. I've tried to add LIBS += -lasound to .pro file but it doesn't help.

    Has anyone tried this before? Is it possible to mix Qt Android with ALSA backend?

    Thanks!

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

      Hi and welcome to devnet,

      You can check the plugin presence by going to your Android built Qt in the plugins subfolder. However I don't know if it will be working on Android.

      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