Audacity 3.2.0
FFmpeg.h
Go to the documentation of this file.
1/**********************************************************************
2
3Audacity: A Digital Audio Editor
4
5FFmpeg.h
6
7Audacity(R) is copyright (c) 1999-2009 Audacity Team.
8License: GPL v2 or later. See License.txt.
9
10******************************************************************//*******************************************************************/
15
16#if !defined(__AUDACITY_FFMPEG__)
17#define __AUDACITY_FFMPEG__
18
19
20
21#include "audacity/Types.h"
22#include "wxPanelWrapper.h" // to inherit
23
24class wxCheckBox;
25
26/* rather earlier than normal, but pulls in config*.h and other program stuff
27 * we need for the next bit */
28#include "ShuttleGui.h"
29#include "Prefs.h"
30
31#include "Identifier.h"
32#include "SampleFormat.h"
33
34#if defined(USE_FFMPEG)
35# include "FFmpegFunctions.h"
36#endif
37
39
40/* from here on in, this stuff only applies when ffmpeg is available */
41#if defined(USE_FFMPEG)
42
43//----------------------------------------------------------------------------
44// Attempt to load and enable/disable FFmpeg at startup
45//----------------------------------------------------------------------------
46void FFmpegStartup();
47
48bool LoadFFmpeg(bool showerror);
49
50bool FindFFmpegLibs(wxWindow* parent = nullptr);
51
52
57{
58public:
59
60 FFmpegNotFoundDialog(wxWindow *parent);
61
63
64 void OnOk(wxCommandEvent & WXUNUSED(event));
65
66private:
67
68 wxCheckBox *mDontShow;
69
70 DECLARE_EVENT_TABLE()
71};
72
74
75#endif // USE_FFMPEG
76#endif // __AUDACITY_FFMPEG__
77
bool FindFFmpegLibs(wxWindow *parent=nullptr)
Definition: FFmpeg.cpp:310
TranslatableString GetFFmpegVersion()
Definition: FFmpeg.cpp:82
BoolSetting FFmpegNotFoundDontShow
Definition: FFmpeg.cpp:362
bool LoadFFmpeg(bool showerror)
Definition: FFmpeg.cpp:46
void FFmpegStartup()
Definition: FFmpeg.cpp:65
#define S(N)
Definition: ToChars.cpp:64
This specialization of Setting for bool adds a Toggle method to negate the saved value.
Definition: Prefs.h:339
FFmpegNotFoundDialog(wxWindow *parent)
Definition: FFmpeg.cpp:258
void PopulateOrExchange(ShuttleGui &S)
Definition: FFmpeg.cpp:266
void OnOk(wxCommandEvent &WXUNUSED(event))
Definition: FFmpeg.cpp:296
wxCheckBox * mDontShow
Definition: FFmpeg.h:68
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition: ShuttleGui.h:625
Holds a msgid for the translation catalog; may also bind format arguments.