Capture PC output audio in Qt

  • Hello everyone.

    I was wondering how I can capture "what I hear" through Qt.

    I see there's a class called QAudioRecorder.
    I tried it, but it only records my microphone.

    I want to be able to capture what comes out of my default output device


    I know there are alternatives like WASAPI... but I'm looking Qt/cross platform solutions.

    Thanks in advance.

  • Lifetime Qt Champion


    From a quick look at QtMultimedia's sources, there seems to be a WASAPI plugin however I don't think it's built by default. You may want to try to build it by hand.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.