Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Audio » Win32   (RSS)
There's an MSDN sample of how to turn on HDCP or SCMS in a playback app. The sample is loosely based on a test app I wrote, but there are still some rough edges. For example, the CMFAttributeImpl<T> template is not part of the SDK or the DDK. Also, Read More...
Sample WASAPI exclusive-mode event-driven playback app, including the HD Audio alignment dance and a version of the ac3.wav test tone with a "fact" chunk Read More...
Sample app that records what you hear using WASAPI loopback capture. Read More...
WASAPI event-driven (pull-mode) sample for rendering silence Read More...
vbBretty on the audio forums asked how to tell if a given audio output and a given audio input were on the same physical audio card. Read More...
I found a simple but nasty bug the other day in this implementation of the IMFOutputSchema interface. The symptoms: running this code outside of a debugger caused the app to crash. Running it under a debugger (to catch the crash) caused the app to run clean. Read More...
In a previous post I posed several mathematical problems... I'd like to go back and give some answers to them. To reiterate, we take a sine wave period and wrap it around a cylinder... Read More...
Do the first exercise above - print out the original image, cut it out along the lines, and make a cylinder by connecting the short ends together. Rotate the cylinder through various orientations, paying particular attention to the location of the sine wave at all times. Read More...
w(i) = a sin(2πfi / s + ϕ) + c ...you'll burn through 2^32 samples in three hours, six minutes, twenty-five seconds. This is uncomfortably close to reasonable. So I fixed it - almost. Now we use a UINT64 for the sample offset. Well, it turns out that fixing that bug uncovered another bug. Exercise... what is the bug? Read More...
 
Page view tracker