首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式碼之家 >> 編程語言 >  >> C語言 >> 關於C語言

用 C# 編寫網路電話 (9):CaptureSound 公開方法與原始碼下載

     編輯:關於C語言

公開方法實作

#region 公開方法
public void Pause()
{
    buffer.Stop();
}

public void Resume()
{
    buffer.Start(true);
}

public void Start()
{
    StartOrStopRecord(true);
}

public void Stop()
{
    StartOrStopRecord(false);
    notifyThread = null;
    nextCaptureOffset = 0;
    sampleCount = 0L;
}
#endregion

本文配套完整原始碼下載

  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式碼之家 All Rights Reserved