Re: [Audacity-devel] Move to Widgets 2.8.11?
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Leland <le...@au...> - 2010-07-03 00:51:27
|
Richard Ash wrote: > On Thu, 2010-07-01 at 18:33 -0500, Leland wrote: >>>> It'll need patching to get the changes for the wxSound class. >>> Hi Paul, Leland, >>> Did anyone make / is anyone working on a patch? Otherwise I'll look into it. >>> >> I did think about this a bit more. How about rather than patching >> wxWidgets, just move the code into the Audacity tree as a Sound class >> that is #ifdef()d for the Mac only...all other use the normal wxSound class. >> >> That way there's no patching required. > > Sounds reasonable. Can you point me to why we needed to patch in the > first case (will also need to go in the class as a comment)? > It's ONLY used by the ProgressDialog (and anything that uses that) and it's only used if the duration of the task was greater than a certain value. Take a look at the Beep method in ProgressDialog.cpp. I did submit the patch to the Widgets folks, but it hasn't gotten included yet and may not since 2.9+ will be Cocoa based. See http://trac.wxwidgets.org/ticket/10362 Leland |