예제 #1
0
 /// <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);
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AudioDecoder" /> class.
 /// </summary>
 public AudioDecoder()
 {
     // Make sure that the MediaEngine is initialized.
     MediaManager.Startup();
 }