Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DirectSound"/> class.
 /// </summary>
 /// <param name="driverGuid">The driver GUID.</param>
 public DirectSound(Guid driverGuid) : base(IntPtr.Zero)
 {
     DSound.Create8(driverGuid, this, null);
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DirectSound"/> class.
 /// </summary>
 public DirectSound() : base(IntPtr.Zero)
 {
     DSound.Create8(null, this, null);
 }