Exemplo n.º 1
0
 /// <summary>
 /// Creates an audio file to playback with the specified file path. Note: filePath should not have the file extension. Eg "helloworld.wav" should be passed as "helloworld"
 /// </summary>
 /// <param name="filePath"></param>
 public AudioFile(string filePath)
 {
     _audioFilePath        = filePath;
     _audioPlayFileInfoPtr = new System.Runtime.InteropServices.HandleRef(this, NativeAudioSystem.CreateSPlayFileInfo(_audioFilePath));
 }