/// <summary> /// Initializes a new instance of the <see cref="AudioDecoder" /> class. /// </summary> /// <param name="stream">The stream to read the compressed audio.</param> public AudioDecoder(IRandomAccessStream stream) { // Make sure that the MediaEngine is initialized. MediaManager.Startup(); SetSourceStream(stream); }
/// <summary> /// Initializes a new instance of the <see cref="AudioDecoder" /> class. /// </summary> public AudioDecoder() { // Make sure that the MediaEngine is initialized. MediaManager.Startup(); }