mirror of
https://github.com/azahar-emu/soundtouch
synced 2025-11-08 08:00:04 +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();
|
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
|
/// Get SoundTouch library version Id
|
||||||
SOUNDTOUCHDLL_API uint __stdcall soundtouch_getVersionId()
|
SOUNDTOUCHDLL_API uint __stdcall soundtouch_getVersionId()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -58,6 +58,10 @@ SOUNDTOUCHDLL_API void __stdcall soundtouch_destroyInstance(HANDLE h);
|
|||||||
/// Get SoundTouch library version string
|
/// Get SoundTouch library version string
|
||||||
SOUNDTOUCHDLL_API const char *__stdcall soundtouch_getVersionString();
|
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
|
/// Get SoundTouch library version Id
|
||||||
SOUNDTOUCHDLL_API unsigned int __stdcall soundtouch_getVersionId();
|
SOUNDTOUCHDLL_API unsigned int __stdcall soundtouch_getVersionId();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user