[wdmaudiodev] Re: Write to audio device in Windows

  • From: Simon Brown <simon.k.brown@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Fri, 6 Nov 2020 10:46:30 +0000




The only thing I would add to this excellent summary is that WASAPI is not
all that hard to use.  It’s only a bit wordier than waveIn/waveOut, and is
much more flexible.  Some people are afraid of anything that smells like
COM, but once you copy a few examples, you’ll see that it’s a well-designed
API.

Writing to KS directly, on the other hand, is horrific.  The interface was
not designed to be exposed to applications, and it shows.

I have found portaudio.com which seems to do exactly what I want in terms
of writing to a device.  Strangely, my audio when I route it to speakers is
at twice the frequency.  I think I'm not matching source to destination
correctly. :-)

Thanks,
Simon

Other related posts: