Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QAudioprobe setSource returns false

QAudioprobe setSource returns false

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.1k 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.
  • M Offline
    M Offline
    Mich64
    wrote on last edited by
    #1

    Hi,

    I'm trying to use the QAudioProbe like this:

    @
    header file:
    private:
    QMediaPlayer *player;

    cpp file:
    player = new QMediaPlayer;
    QAudioProbe *probe = new QAudioProbe;
    qDebug() << probe->setSource(player);
    @

    But the probe always returns false. I'm using WinXp and/or Win7 (64bit) with Qt 5.0.2 for MinGW.

    The documentation is very vague what the "false" means. What is the cause of the not working QAudioProbe? Is it a missing plugin or something?
    I'm using MinGW for because the QMediaplayer does not work on Qt/VS2010 on winXP due to some directshow plugin missing. I tried to compile that but there are bugs in the sources. QMediaplayer works fine in MinGW configuration, but I wish QAudioprobe would work too.
    Interesting fact is that QAudioprobe |does| work together with QAudiorecorder. So the problem must be somewhere in the QMediaplayer plugin (which claims to support the QAudioProbe class).

    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