mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-17 00:20:06 +02:00
... Most often it was needed for a custom definition of std::make_unique, but we build C++14 now.
42 lines
954 B
C++
42 lines
954 B
C++
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
ExportMP3.h
|
|
|
|
Dominic Mazzoni
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef __AUDACITY_EXPORTMP3__
|
|
#define __AUDACITY_EXPORTMP3__
|
|
|
|
/* --------------------------------------------------------------------------*/
|
|
|
|
#include <memory>
|
|
|
|
enum MP3RateMode : unsigned {
|
|
MODE_SET = 0,
|
|
MODE_VBR,
|
|
MODE_ABR,
|
|
MODE_CBR,
|
|
};
|
|
|
|
template< typename Enum > class EnumSetting;
|
|
extern EnumSetting< MP3RateMode > MP3RateModeSetting;
|
|
|
|
#if defined(__WXMSW__) || defined(__WXMAC__)
|
|
#define MP3_EXPORT_BUILT_IN 1
|
|
#endif
|
|
|
|
class TranslatableString;
|
|
class wxWindow;
|
|
|
|
//----------------------------------------------------------------------------
|
|
// Get MP3 library version
|
|
//----------------------------------------------------------------------------
|
|
TranslatableString GetMP3Version(wxWindow *parent, bool prompt);
|
|
|
|
#endif
|
|
|