[Audacity-devel] Command "New Stereo Track"
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Otto W. <ott...@bl...> - 2003-05-02 18:38:17
|
I can't find the pervious thread about this subject but as much as I remember this command is considered usfull. And I could really use it now. So I looked into the code and found "OnNewWaveTrack" which could be easy duplicated into a "OnNewStereoTrack". But I don't know enough about tracks so could anybody else fill in the missing parts? void AudacityProject::OnNewStereoTrack() { WaveTrack *t = mTrackFactory->NewWaveTrack(mDefaultFormat); t->SetRate(mRate); SelectNone(); mTracks->Add(t); // <====== here should be stereo tracks t->SetSelected(true); PushState(_("Created new audio track")); FixScrollbars(); mTrackPanel->Refresh(false); } O. Wyss -- See "http://wxguide.sourceforge.net/", any help for platform specific build instructions is welcomed. |