Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public void PlayCue(string name) { if (String.IsNullOrEmpty(name)) { throw new ArgumentNullException("name"); } ushort cue = FAudio.FACTSoundBank_GetCueIndex( handle, name ); if (cue == FAudio.FACTINDEX_INVALID) { throw new InvalidOperationException( "Invalid cue name!" ); } FAudio.FACTSoundBank_Play( handle, cue, 0, 0, IntPtr.Zero ); }