1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-05 16:43:52 +01:00

This should fix bug #1111

In addition it adds an option to open the full FFmpeg options
dialog.
This commit is contained in:
Leland Lucius
2015-08-05 02:28:42 -05:00
parent 4cd7757cf4
commit 617e0713df
13 changed files with 467 additions and 152 deletions

View File

@@ -63,7 +63,11 @@ public:
ExportFFmpegAC3Options(wxWindow *parent, int format);
virtual ~ExportFFmpegAC3Options();
void PopulateOrExchange(ShuttleGui & S);
bool TransferDataToWindow();
bool TransferDataFromWindow();
/// Bit Rates supported by AC3 encoder
static const int iAC3BitRates[];
/// Sample Rates supported by AC3 encoder (must end with zero-element)
@@ -85,7 +89,10 @@ public:
ExportFFmpegAACOptions(wxWindow *parent, int format);
virtual ~ExportFFmpegAACOptions();
void PopulateOrExchange(ShuttleGui & S);
bool TransferDataToWindow();
bool TransferDataFromWindow();
private:
@@ -98,7 +105,10 @@ public:
ExportFFmpegAMRNBOptions(wxWindow *parent, int format);
virtual ~ExportFFmpegAMRNBOptions();
void PopulateOrExchange(ShuttleGui & S);
bool TransferDataToWindow();
bool TransferDataFromWindow();
static int iAMRNBBitRate[];
@@ -117,7 +127,10 @@ public:
ExportFFmpegWMAOptions(wxWindow *parent, int format);
~ExportFFmpegWMAOptions();
void PopulateOrExchange(ShuttleGui & S);
bool TransferDataToWindow();
bool TransferDataFromWindow();
static const int iWMASampleRates[];
static const int iWMABitRate[];
@@ -131,6 +144,24 @@ private:
int mBitRateFromChoice;
};
class ExportFFmpegCustomOptions : public wxPanel
{
public:
ExportFFmpegCustomOptions(wxWindow *parent, int format);
~ExportFFmpegCustomOptions();
void PopulateOrExchange(ShuttleGui & S);
bool TransferDataToWindow();
bool TransferDataFromWindow();
void OnOpen(wxCommandEvent & evt);
private:
DECLARE_EVENT_TABLE();
};
/// Entry for the Applicability table
struct ApplicableFor
{