Will mit der neuen FMOD Version die Funktion FMOD_System_GetDriverName() aufrufen, nur hat die Funktion nun einen neuen Parameter.
Aber irgendwie weiß ich damit nix anzufangen.
Kann mir wer helfen?
Laut Hilfe soll die Funktion so declariert werden:
Code: Alles auswählen
FMOD_RESULT System::getDriverInfo(
int id,
char * name,
int namelen,
FMOD_GUID * guid
);
Parameters
id
Index of the sound driver device. The total number of devices can be found with System::getNumDrivers.
name
Address of a variable that receives the name of the device. Optional. Specify 0 or NULL to ignore.
namelen
Length in bytes of the target buffer to receieve the string. Required if name parameter is not NULL.
guid
Address of a variable that receives the GUID that uniquely identifies the device. Optional. Specify 0 or NULL to ignore.

---------------------------
PureBasic - Linker error
---------------------------
POLINK: error: Unresolved external symbol '_FMOD_System_GetDriverName'.
POLINK: fatal error: 1 unresolved external(s).
---------------------------
OK
---------------------------
So hab ich es versucht:
Code: Alles auswählen
FMOD_System_GetDriverName( system.l, id.l, *name.b, Namelen.l, *guid.FMOD_GUID )
FMOD_System_GetDriverName(lFMOD_System, lNext, 0, 0, 0)