OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
gvSource.h
1/*
2GameSpy Voice2 SDK
3Dan "Mr. Pants" Schoenblum
4dan@gamespy.com
5
6Copyright 2004 GameSpy Industries, Inc
7
8devsupport@gamespy.com
9http://gamespy.net
10*/
11
12#ifndef _GV_SOURCE_H_
13#define _GV_SOURCE_H_
14
15#include "gvMain.h"
16/************
17** GLOBALS **
18************/
19extern GVBool GVIGlobalMute;
20
21typedef struct GVISource * GVISourceList;
22
23GVISourceList gviNewSourceList(void);
24void gviFreeSourceList(GVISourceList sourceList);
25void gviClearSourceList(GVISourceList sourceList);
26
27GVBool gviIsSourceTalking(GVISourceList sourceList, GVSource source);
28int gviListTalkingSources(GVISourceList sourceList, GVSource sources[], int maxSources);
29
30void gviSetGlobalMute(GVBool mute);
31GVBool gviGetGlobalMute(void);
32
33void gviAddPacketToSourceList(GVISourceList sourceList,
34 const GVByte * packet, int len, GVSource source, GVFrameStamp frameStamp, GVBool mute,
35 GVFrameStamp currentPlayClock);
36
37GVBool gviWriteSourcesToBuffer(GVISourceList sourceList, GVFrameStamp startTime,
38 GVSample * sampleBuffer, int numFrames);
39
40#endif
Definition gvSource.c:25