Is it possible to stream or play raw uncompressed PCM audio data in Windows 8? I don’t want to play a file, but rather push my own audio samples (e.g. generate a sine wave). I’m running the Win8 consumer preview. I know that NAudio can do this in Win7 and earlier editions of Windows. I’ve tried referencing NAudio in a Visual Studio 11 project but NAudio has a dependency on System.Windows.Forms.dll, which does not exist (as far as I can tell) on the Win8 consumer preview. Is there another way to accomplish this in the Win8 preview? I’d prefer a solution using managed code or JavaScript.
Share
You didn’t specify language of your chice, so I am going to assume C#. For C# I can think of couple possible options: