Skip to content

Instantly share code, notes, and snippets.

View thereverand's full-sized avatar

Nick Daniels thereverand

View GitHub Profile
@thereverand
thereverand / gist:4019561
Created November 5, 2012 18:52 — forked from marek-stoj/gist:3637293
SharpDX MediaEngine on Win8 Metro
//This works..... (for playing audio)
MediaEngine Media;
MediaManager.Startup();
var attributes = new MediaEngineAttributes
{
AudioCategory = AudioStreamCategory.BackgroundCapableMedia,
AudioEndpointRole = AudioEndpointRole.Multimedia
};