![]() |
Audacity 3.2.0
|
#include "FFmpeg.h"#include "FFmpegFunctions.h"#include "ModuleConstants.h"#include "FileNames.h"#include "SelectFile.h"#include "HelpSystem.h"#include "AudacityMessageBox.h"#include "ShuttleGui.h"#include <wx/checkbox.h>#include <wx/dynlib.h>#include <wx/file.h>#include <wx/log.h>#include <wx/textctrl.h>Go to the source code of this file.
Classes | |
| class | FindFFmpegDialog |
| Allows user to locate libav* libraries. More... | |
Macros | |
| #define | DEFINE_FFMPEG_POINTERS |
| #define | ID_FFMPEG_BROWSE 5000 |
| #define | ID_FFMPEG_DLOAD 5001 |
Functions | |
| bool | LoadFFmpeg (bool showerror) |
| void | FFmpegStartup () |
| TranslatableString | GetFFmpegVersion () |
| bool | FindFFmpegLibs (wxWindow *parent) |
| DEFINE_VERSION_CHECK DLL_API int | ModuleDispatch (ModuleDispatchTypes type) |
Variables | |
| static BoolSetting | FFmpegEnabled { L"/FFmpeg/Enabled", false } |
| BoolSetting | FFmpegNotFoundDontShow { L"/FFmpeg/NotFoundDontShow", false } |
| #define DEFINE_FFMPEG_POINTERS |
Definition at line 18 of file FFmpeg.cpp.
| #define ID_FFMPEG_BROWSE 5000 |
Definition at line 101 of file FFmpeg.cpp.
| #define ID_FFMPEG_DLOAD 5001 |
Definition at line 102 of file FFmpeg.cpp.
| void FFmpegStartup | ( | ) |
Called during Audacity start-up to try and load the ffmpeg libraries
Definition at line 58 of file FFmpeg.cpp.
References AudacityMessageBox(), FFmpegEnabled, LoadFFmpeg(), Setting< T >::Read(), and XO().
Referenced by ModuleDispatch().
| bool FindFFmpegLibs | ( | wxWindow * | parent | ) |
Definition at line 303 of file FFmpeg.cpp.
References AVFormatPath, SettingTransaction::Commit(), FindFFmpegDialog::GetLibPath(), FFmpegFunctions::GetSearchPaths(), FFmpegFunctions::Load(), name, Setting< T >::Write(), and wxT().
Referenced by anonymous_namespace{ExportFFmpeg.cpp}::ExportOptionsFFmpegCustomEditor::CheckFFmpeg(), ExportFFmpeg::CheckFileName(), and anonymous_namespace{FFmpegPrefs.cpp}::OnFFmpegFindButton().
| TranslatableString GetFFmpegVersion | ( | ) |
Definition at line 75 of file FFmpeg.cpp.
References FFmpegFunctions::Load(), Verbatim(), wxT(), and XO().
Referenced by anonymous_namespace{FFmpegPrefs.cpp}::SetFFmpegVersionText().
| bool LoadFFmpeg | ( | bool | showerror | ) |
Definition at line 39 of file FFmpeg.cpp.
References FFmpegEnabled, audacity::BasicSettings::Flush(), gPrefs, FFmpegFunctions::Load(), and Setting< T >::Write().
Referenced by anonymous_namespace{ExportFFmpeg.cpp}::ExportOptionsFFmpegCustomEditor::CheckFFmpeg(), ExportFFmpeg::CheckFileName(), FFmpegStartup(), and anonymous_namespace{FFmpegPrefs.cpp}::OnFFmpegFindButton().
| DEFINE_VERSION_CHECK DLL_API int ModuleDispatch | ( | ModuleDispatchTypes | type | ) |
Definition at line 359 of file FFmpeg.cpp.
References FFmpegStartup(), and ModuleInitialize.
|
static |
Definition at line 37 of file FFmpeg.cpp.
Referenced by FFmpegStartup(), and LoadFFmpeg().
| BoolSetting FFmpegNotFoundDontShow { L"/FFmpeg/NotFoundDontShow", false } |
Definition at line 355 of file FFmpeg.cpp.
Referenced by FFmpegNotFoundDialog::OnOk(), FFmpegImportPlugin::Open(), and FFmpegNotFoundDialog::PopulateOrExchange().