internal AudioClockClient(IAudioClock audioClockClientInterface)
        {
            this.audioClockClientInterface = audioClockClientInterface;

            //Stopwatch.GetTimestamp();
            //Stopwatch.Frequency
        }
        internal AudioClockClient(IAudioClock audioClockClientInterface)
        {
            this.audioClockClientInterface = audioClockClientInterface;

            //Stopwatch.GetTimestamp();
            //Stopwatch.Frequency
        }
Esempio n. 3
0
 protected override void Dispose(bool disposing)
 {
     if (audioClockClientInterface != null)
     {
         ReleaseComObject(audioClockClientInterface);
         audioClockClientInterface = null;
     }
 }
Esempio n. 4
0
 public void Dispose()
 {
     if (this.audioClockClientInterface != null)
     {
         Marshal.ReleaseComObject(this.audioClockClientInterface);
         this.audioClockClientInterface = null;
         GC.SuppressFinalize(this);
     }
 }
 /// <summary>
 /// Dispose
 /// </summary>
 public void Dispose()
 {
     if (audioClockClientInterface != null)
     {
         // althugh GC would do this for us, we want it done now
         // to let us reopen WASAPI
         Marshal.ReleaseComObject(audioClockClientInterface);
         audioClockClientInterface = null;
         GC.SuppressFinalize(this);
     }
 }
Esempio n. 6
0
 internal AudioClockClient(IAudioClock audioClockClientInterface)
 {
     this.audioClockClientInterface = audioClockClientInterface;
 }
 /// <summary>
 /// Dispose
 /// </summary>
 public void Dispose()
 {
     if (audioClockClientInterface != null)
     {
         // althugh GC would do this for us, we want it done now
         // to let us reopen WASAPI
         Marshal.ReleaseComObject(audioClockClientInterface);
         audioClockClientInterface = null;
         GC.SuppressFinalize(this);
     }
 }