GVDeviceInfo

GameSpy SDK

GVDeviceInfo

Information for an audio device.

typedef struct 
{
GVDeviceID m_id;
char m_name[GV_DEVICE_NAME_LEN];
GVDeviceType m_deviceType;
GVDeviceType m_defaultDevice;
GVHardwareType m_hardwareType;
} GVDeviceInfo;

Members

m_id
Used if you initialize this device with gvNewDevice.
m_name
A user-readable name for the device.
m_deviceType
Indicates if this device is for capture, playback, or both capture and playback.
m_defaultDevice
Indicates if this device is the default capture device, default playback device, both, or neither. If neither, the value will be 0 (this will always be the case on the PS2).
m_hardwareType
More information about the device's actual hardware. Will differ based on platform. See GVHardwareType for settings.

Section Reference: Gamespy Voice SDK

See Also: gvListDevices, GVHardwareType