mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-16 15:41:11 +02:00
New attached structure ProjectSettings stores rate, snap-to, et al.
This commit is contained in:
@@ -210,9 +210,10 @@ ProgressResult ExportMP2::Export(AudacityProject *project,
|
||||
bool selectionOnly, double t0, double t1, MixerSpec *mixerSpec, const Tags *metadata,
|
||||
int WXUNUSED(subformat))
|
||||
{
|
||||
const auto &settings = ProjectSettings::Get( *project );
|
||||
bool stereo = (channels == 2);
|
||||
long bitrate = gPrefs->Read(wxT("/FileFormats/MP2Bitrate"), 160);
|
||||
double rate = project->GetRate();
|
||||
double rate = settings.GetRate();
|
||||
const auto &tracks = TrackList::Get( *project );
|
||||
|
||||
wxLogNull logNo; /* temporarily disable wxWidgets error messages */
|
||||
|
Reference in New Issue
Block a user