gvStopDevice

GameSpy SDK

gvStopDevice

Stops a device that is capturing and/or playing audio.

void gvStopDevice(
GVDevice device,
GVDeviceType type );
RoutineRequired HeaderDistribution
gvStopDevice<gv.h>SDKZIP

Parameters

device
[in] The handle to the device.
type
[in] Specifies capture, playback, or both.

Remarks

When you want a device to stop capturing or playing, use gvStopDevice. When a capture device is stopped, it will stop passing captured audio to the application. When a playback device is stopped, it will stop playing audio. For devices that support both capture and playback, each can be stopped independently.

Section Reference: Gamespy Voice SDK

See Also: gvStartDevice, gvIsDeviceStarted