예제 #1
0
 private void disposeTx()
 {
     if (null != deviceTx)
     {
         deviceTx.Dispose();
     }
     deviceTx = null;
 }
예제 #2
0
 private void initializeDeviceTx()
 {
     if (null == deviceTx)
     {
         deviceTx = new XD.WaveDeviceTx();
         deviceTx.Open((uint)selectedDevice, (uint)selectedChannel);
         deviceTx.SoundSyncCallback = new XD.SoundBeginEnd(AudioBeginEnd);
     }
 }