Audacity
3.2.0
modules
import-export
mod-ffmpeg
lib-ffmpeg-support
impl
DynamicLibraryHelpers.h
Go to the documentation of this file.
1
/**********************************************************************
2
3
Audacity: A Digital Audio Editor
4
5
DynamicLibraryHelpers.h
6
7
Dmitry Vedenko
8
9
**********************************************************************/
10
11
#pragma once
12
13
class
wxDynamicLibrary;
14
struct
FFMPegVersion
;
15
17
#define GET_SYMBOL(name) (lib.HasSymbol(#name) ? functions.name = reinterpret_cast<decltype(functions.name)>(lib.GetSymbol(#name)) : functions.name = nullptr)
19
#define RESOLVE(name) if (nullptr == GET_SYMBOL(name)) return false
20
21
bool
GetAVVersion
(
22
const
wxDynamicLibrary& lib,
const
char
*
name
,
FFMPegVersion
& version);
GetAVVersion
bool GetAVVersion(const wxDynamicLibrary &lib, const char *name, FFMPegVersion &version)
Definition:
DynamicLibraryHelpers.cpp:19
name
wxString name
Definition:
TagsEditor.cpp:166
FFMPegVersion
Definition:
FFmpegTypes.h:168
Generated by
1.9.3