MediaHelperSyncPlayWAV Method (SoundPlayer, String) | Helper帮助文档 |
以同步方式播放wav文件
Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void SyncPlayWAV( SoundPlayer sp, string wavFilePath )
Public Shared Sub SyncPlayWAV ( sp As SoundPlayer, wavFilePath As String )
public: static void SyncPlayWAV( SoundPlayer^ sp, String^ wavFilePath )
static member SyncPlayWAV : sp : SoundPlayer * wavFilePath : string -> unit
Parameters
- sp
- Type: System.MediaSoundPlayer
SoundPlayer对象 - wavFilePath
- Type: SystemString
wav文件的路径
See Also