Esempio n. 1
0
 /// <summary>
 /// Create an instance of AudioDeviceOut.
 /// </summary>
 internal AudioDeviceOut(int curDevice, IAsyncDispatch asyncDispatch)
 {
     _delegate      = new SafeNativeMethods.WaveOutProc(CallBackProc);
     _asyncDispatch = asyncDispatch;
     _curDevice     = curDevice;
 }
Esempio n. 2
0
 internal AudioDeviceOut(int curDevice, IAsyncDispatch asyncDispatch)
 {
     _delegate      = CallBackProc;
     _asyncDispatch = asyncDispatch;
     _curDevice     = curDevice;
 }