Can I play sound directly through the speaker, as in DirectShow ? DirectShow unfortunately not available in UWP. Of course, I could use the Media Foundation , but unfortunately, AudioGraph accepts frames only in the following format (32 bit; Stereo; 48 kHz; IEEE Float). When adding an AudioFrame from another AudioGraph , then everything works. But I can't create a new AudioFrame from a byte array.

    1 answer 1

    As an option

     MediaElement me = new MediaElement(); me.SetSource(stream, stream.ContentType); me.Play();