Re: [Audacity-devel] FIX_PLAY_ON_OPEN
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Andreas M. <And...@gm...> - 2007-12-01 01:39:14
|
Hallo Martyn, > On this occasion, I disagree with you. You must have been using the > Transcription toolbar 'play' button to come to this conclusion, > judging by your comments. > I simply single-stepped CreateNewAudacityProject, and found that the sound stopped in TranscriptionToolBar::OnPlaySpeed. I don't understand where you disagree, sorry, I'm becoming stupid. Maybe I must sleep. ;-) > There are several ways to set off playback in the second project, some > are ignored, some are not. > > Pressing SpaceBar calls AudacityProject::OnPlayStop() and is not a > problem. > > Pressing Play calls ControlToolBar::OnPlay which calls > ControlToolBar::PlayDefault() which calls StopPlaying(), which causes > the problem. > > Any use? > Martyn > But the line SetActiveProject(NULL); fixes the problem, I believe. Do you think, this is a reasonable way to fix it? Thanks, Andreas |