1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#include "gvPS3Audio.h"
#include "gvPS3Headset.h"
#if !defined(_PS3)
#error This file should only be used with the PlayStation3
#endif
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// starts up the devices
GVBool gviHardwareStartup(void)
{
return gviPS3HeadsetStartup();
}
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// cleans up the devices
void gviHardwareCleanup(void)
{
gviPS3HeadsetCleanup();
}
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// should be called every once in a while
void gviHardwareThink(void)
{
gviPS3HeadsetThink();
}
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// lists the connected devices
int gviHardwareListDevices(GVDeviceInfo devices[], int maxDevices, GVDeviceType types)
{
return gviPS3HeadsetListDevices(devices, maxDevices, types);
}
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// initializes a new device
GVDevice gviHardwareNewDevice(GVDeviceID deviceID, GVDeviceType type)
{
return gviPS3HeadsetNewDevice(deviceID, type);
}
|