Audacity 3.2.0
Classes | Namespaces | Enumerations | Functions | Variables
ExportOpus.cpp File Reference
#include "Export.h"
#include <random>
#include <string_view>
#include <ogg/ogg.h>
#include <opus/opus.h>
#include <opus/opus_multistream.h>
#include "wxFileNameWrapper.h"
#include "Mix.h"
#include "MemoryX.h"
#include "Track.h"
#include "Tags.h"
#include "ExportPluginHelpers.h"
#include "ExportOptionsEditor.h"
#include "ExportPluginRegistry.h"
#include "PlainExportOptionsEditor.h"
#include "CodeConversions.h"
Include dependency graph for ExportOpus.cpp:

Go to the source code of this file.

Classes

class  OpusExportProcessor
 
struct  OpusExportProcessor::OggPacket
 
class  ExportOpus
 

Namespaces

namespace  anonymous_namespace{ExportOpus.cpp}
 
namespace  anonymous_namespace{ExportOpus.cpp}::VBRMode
 

Enumerations

enum  : int {
  anonymous_namespace{ExportOpus.cpp}::OPUSOptionIDBitRate = 0 , anonymous_namespace{ExportOpus.cpp}::OPUSOptionIDQuality , anonymous_namespace{ExportOpus.cpp}::OPUSOptionIDFrameDuration , anonymous_namespace{ExportOpus.cpp}::OPUSOptionIDVBRMode ,
  anonymous_namespace{ExportOpus.cpp}::OPUSOptionIDApplication , anonymous_namespace{ExportOpus.cpp}::OPUSOptionIDCutoff
}
 
enum  : int { anonymous_namespace{ExportOpus.cpp}::VBRMode::CBR , anonymous_namespace{ExportOpus.cpp}::VBRMode::VBR , anonymous_namespace{ExportOpus.cpp}::VBRMode::CVBR }
 

Functions

TranslatableString anonymous_namespace{ExportOpus.cpp}::GetOpusEncErrorString (int error)
 
void anonymous_namespace{ExportOpus.cpp}::FailExport (const TranslatableString &title, int errorCode=0)
 
TranslatableString anonymous_namespace{ExportOpus.cpp}::n_kbps (int n)
 
bool anonymous_namespace{ExportOpus.cpp}::IsValidSampleRate (int sampleRate) noexcept
 

Variables

const std::initializer_list< PlainExportOptionsEditor::OptionDescanonymous_namespace{ExportOpus.cpp}::OPUSOptions
 
constexpr int anonymous_namespace{ExportOpus.cpp}::supportedSampleRates [] = { 8000, 12000, 16000, 24000, 48000 }
 
static ExportPluginRegistry::RegisteredPlugin sRegisteredPlugin
 

Variable Documentation

◆ sRegisteredPlugin

ExportPluginRegistry::RegisteredPlugin sRegisteredPlugin
static
Initial value:
{ "Opus",
[]{ return std::make_unique< ExportOpus >(); }
}

Definition at line 889 of file ExportOpus.cpp.