locked
Looking for alternative to WASAPI loopback for capture playback (capture speakers) RRS feed

  • Question

  • Hi

    I use WASAPI loopback to capture what coming out from speakers. Works well. The problem is that my APP needs to capture the speakers sound while they are on mute. This works in most cases, but with some soundcards, WASAPI can not capture audio sound (playback sound) while speakers are muted. So I am looking for alternative that can capture played sound while speakers are muted - or at least try alternative and see if it can capture while speakers are muted.

    Any suggestions?

    Saturday, June 20, 2020 9:19 AM

All replies

  • Windows does not offer an API that will do what you want.

    As an alternative you can explore writing a virtual audio driver that takes the audio and does what you like with it. There's a sample audio driver here: https://github.com/microsoft/Windows-driver-samples/tree/master/audio/sysvad


    Matthew van Eerde

    Sunday, June 21, 2020 12:16 AM
  • Thanks!

    But i am not sure i want to try mess with Drivers.

    Cant the AudioGraph API do that?

    Does it allow capture speakers?

    I found example of using it to capture Microphone and sending it to SoundCard.

    But not sure if it allows capturing speakers and really access they data in memory (and not by files)

    Sunday, June 21, 2020 2:35 PM
  • Nope.

    If you would like an API to record speaker output even while the speaker is muted without messing with drivers, please submit a feature suggestion in Feedback Hub.


    Matthew van Eerde

    Monday, June 22, 2020 4:59 PM