gvGetCodecInfo

GameSpy SDK

gvGetCodecInfo

Obtains the particular stats for the codec.

void gvGetCodecInfo(
int * samplesPerFrame,
int * encodedFrameSize,
int * bitsPerSecond );
RoutineRequired HeaderDistribution
gvGetCodecInfo<gv.h>SDKZIP

Parameters

samplesPerFrame
[out] The samples per frame.
encodedFrameSize
[out] The encoded frame size in bytes
bitsPerSecond
[out] The bits per second.

Remarks

Note that the bits per second doesn’t take into account any overhead, such as the need to transmit a frame stamp value with each packet. It is based only on the encoded frame size and the number of frames per second.

Section Reference: Gamespy Voice SDK

See Also: gvSetCodec