Audacity 3.2.0
|
Go to the source code of this file.
Macros | |
#define | GET_SYMBOL(name) (lib.HasSymbol(#name) ? functions.name = reinterpret_cast<decltype(functions.name)>(lib.GetSymbol(#name)) : functions.name = nullptr) |
Does not require the named function to be found in the library. More... | |
#define | RESOLVE(name) if (nullptr == GET_SYMBOL(name)) return false |
Requires the named function to be found in the library, else load fails. More... | |
Functions | |
bool | GetAVVersion (const wxDynamicLibrary &lib, const char *name, FFMPegVersion &version) |
#define GET_SYMBOL | ( | name | ) | (lib.HasSymbol(#name) ? functions.name = reinterpret_cast<decltype(functions.name)>(lib.GetSymbol(#name)) : functions.name = nullptr) |
Does not require the named function to be found in the library.
Definition at line 17 of file DynamicLibraryHelpers.h.
#define RESOLVE | ( | name | ) | if (nullptr == GET_SYMBOL(name)) return false |
Requires the named function to be found in the library, else load fails.
Definition at line 19 of file DynamicLibraryHelpers.h.
bool GetAVVersion | ( | const wxDynamicLibrary & | lib, |
const char * | name, | ||
FFMPegVersion & | version | ||
) |
Definition at line 19 of file DynamicLibraryHelpers.cpp.
References FFMPegVersion::Major, FFMPegVersion::Micro, FFMPegVersion::Minor, and name.
Referenced by LoadAVCodecFunctions(), LoadAVFormatFunctions(), and LoadAVUtilFunctions().