Exemplo n.º 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);
 }
Exemplo n.º 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();
 }