mirror of
https://github.com/RPCS3/soundtouch.git
synced 2024-11-08 20:12:27 +01:00
Added soundtouch_getVersionString2()
This commit is contained in:
parent
0ec963fddf
commit
ff455bb5a6
@ -107,6 +107,15 @@ SOUNDTOUCHDLL_API const char *__stdcall soundtouch_getVersionString()
|
||||
return SoundTouch::getVersionString();
|
||||
}
|
||||
|
||||
|
||||
/// Get SoundTouch library version string - alternative function for
|
||||
/// environments that can't properly handle character string as return value
|
||||
SOUNDTOUCHDLL_API void __stdcall soundtouch_getVersionString2(char* versionString, int bufferSize)
|
||||
{
|
||||
strcpy_s(versionString, bufferSize, SoundTouch::getVersionString());
|
||||
}
|
||||
|
||||
|
||||
/// Get SoundTouch library version Id
|
||||
SOUNDTOUCHDLL_API uint __stdcall soundtouch_getVersionId()
|
||||
{
|
||||
|
@ -58,6 +58,10 @@ SOUNDTOUCHDLL_API void __stdcall soundtouch_destroyInstance(HANDLE h);
|
||||
/// Get SoundTouch library version string
|
||||
SOUNDTOUCHDLL_API const char *__stdcall soundtouch_getVersionString();
|
||||
|
||||
/// Get SoundTouch library version string - alternative function for
|
||||
/// environments that can't properly handle character string as return value
|
||||
SOUNDTOUCHDLL_API void __stdcall soundtouch_getVersionString2(char* versionString, int bufferSize);
|
||||
|
||||
/// Get SoundTouch library version Id
|
||||
SOUNDTOUCHDLL_API unsigned int __stdcall soundtouch_getVersionId();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user