summaryrefslogtreecommitdiff
path: root/orkbasecxx/AudioCapturePlugin.h
diff options
context:
space:
mode:
authorGerald Begumisa <ben_g@users.sourceforge.net>2009-08-14 09:23:07 +0000
committerGerald Begumisa <ben_g@users.sourceforge.net>2009-08-14 09:23:07 +0000
commite163cf54ac781ad592da8a009876479204966b26 (patch)
tree34a5ad268d1f17971b45f82c8749724cff80ee96 /orkbasecxx/AudioCapturePlugin.h
parent1cf0cfc8155b0376d35017c4167bece5742fa6af (diff)
Modified the orkaudio API for StartCapture and PauseCapture to carry out their respective operations when the nativecallid is supplied. Added a new API, StopCapture, which causes a session to stop when any of the party, orkuid or nativecallid is provided as a parameter. This API is different from the PauseCapture API in the sense that it actually causes a session to stop and the WAV file is produced. After calling StopCapture, the session cannot be re-started with the StartCapture API (record).
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@633 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx/AudioCapturePlugin.h')
-rw-r--r--orkbasecxx/AudioCapturePlugin.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/orkbasecxx/AudioCapturePlugin.h b/orkbasecxx/AudioCapturePlugin.h
index ede2ea0..a1bc684 100644
--- a/orkbasecxx/AudioCapturePlugin.h
+++ b/orkbasecxx/AudioCapturePlugin.h
@@ -41,9 +41,9 @@ typedef void (__CDECL__* InitializeFunction)();
typedef void (__CDECL__* RunFunction)();
typedef void (__CDECL__* ShutdownFunction)();
typedef void (__CDECL__* ConfigureFunction)(DOMNode*);
-typedef void (__CDECL__* StartCaptureFunction)(CStdString& port, CStdString& orkUid);
-typedef void (__CDECL__* StopCaptureFunction)(CStdString& port);
-typedef void (__CDECL__* PauseCaptureFunction)(CStdString& port, CStdString& orkUid);
+typedef void (__CDECL__* StartCaptureFunction)(CStdString& port, CStdString& orkUid, CStdString& nativecallid);
+typedef void (__CDECL__* StopCaptureFunction)(CStdString& port, CStdString& orkUid, CStdString& nativecallid);
+typedef void (__CDECL__* PauseCaptureFunction)(CStdString& port, CStdString& orkUid, CStdString& nativecallid);
typedef void (__CDECL__* SetOnHoldFunction)(CStdString& port, CStdString& orkUid);
typedef void (__CDECL__* SetOffHoldFunction)(CStdString& port, CStdString& orkUid);