gvSetPushToTalk

GameSpy SDK

gvSetPushToTalk

Used to turn on or off capturing for a device. Must be in GVCaptureModePushToTalk mode.

void gvSetPushToTalk(
GVDevice device,
GVBool talkOn );
RoutineRequired HeaderDistribution
gvSetPushToTalk<gv.h>SDKZIP

Parameters

device
[in] The handle to the capture device.
talkOn
[in] GVTrue to start capture device and capture speech, GVFalse to turn off capture device.

Remarks

When called with talkOn true, the device will start the capture device and capture all speech. When set to false, the capture device is turned off.

Section Reference: Gamespy Voice SDK

See Also: gvGetPushToTalk, gvSetCaptureMode