summaryrefslogtreecommitdiff
path: root/orkaudio/audiocaptureplugins/common/AudioCapturePluginCommon.cpp
blob: ca35e513f1153c6c832e94744fce9274b34e9c6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * Oreka -- A media capture and retrieval platform
 * 
 * Copyright (C) 2005, orecx LLC
 *
 * http://www.orecx.com
 *
 * This program is free software, distributed under the terms of
 * the GNU General Public License.
 * Please refer to http://www.gnu.org/copyleft/gpl.html
 *
 */

#define _WINSOCKAPI_		// prevents the inclusion of winsock.h

#include "Utils.h"
#include "AudioCapturePluginCommon.h"


AudioChunkCallBackFunction g_audioChunkCallBack;
CaptureEventCallBackFunction g_captureEventCallBack;
OrkLogManager* g_logManager;

void __CDECL__ RegisterCallBacks(AudioChunkCallBackFunction audioCallBack, CaptureEventCallBackFunction captureEventCallBack, OrkLogManager* logManager)
{
	g_audioChunkCallBack = audioCallBack;
	g_captureEventCallBack = captureEventCallBack;
	g_logManager = logManager;
}