21 auto result = std::make_shared< ImportExport >();
59 {
"preferred_export_rate", [](
auto &
settings,
auto value){
60 const double rate = value.
Get(
settings.GetPreferredExportRate());
61 settings.SetPreferredExportRate( rate );
static const AudacityProject::AttachedObjects::RegisteredFactory sKey
static ProjectFileIORegistry::AttributeWriterEntry entry
static ProjectFileIORegistry::AttributeReaderEntries entries
static Settings & settings()
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Client code makes static instance from a factory of attachments; passes it to Get or Find as a retrie...
static ImportExport & Get(AudacityProject &project)
void SetPreferredExportRate(double rate)
double GetPreferredExportRate() const
static constexpr double InvalidRate
Base class for XMLFileWriter and XMLStringWriter that provides the general functionality for creating...
Typically statically constructed.