Skip to content

Instantly share code, notes, and snippets.

View Icehunter's full-sized avatar

Ryan Wilson Icehunter

View GitHub Profile
@markheath
markheath / AudioPlaybackEngine.cs
Created February 3, 2014 13:42
FireAndForget NAudio Sample
using System;
using NAudio.Wave;
using NAudio.Wave.SampleProviders;
namespace FireAndForgetAudioSample
{
class AudioPlaybackEngine : IDisposable
{
private readonly IWavePlayer outputDevice;
private readonly MixingSampleProvider mixer;