mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-22 22:43:01 +02:00
bug 26 followup - warn of missing alias on variety of instances (export/import/effect/mix,) in addition to first time the read fails.\nIn addition make sure there is only one warning on the screen at a time, bringing the old one to the foreground (although for things like export/effect there will be a progress bar in front of it, the missing files dialog will be above the project window when it finishes)
This commit is contained in:
@@ -43,6 +43,7 @@ class TimeTrack;
|
||||
class AudioThread;
|
||||
class Meter;
|
||||
class TimeTrack;
|
||||
class wxDialog;
|
||||
|
||||
extern AUDACITY_DLL_API AudioIO *gAudioIO;
|
||||
|
||||
@@ -320,6 +321,15 @@ class AUDACITY_DLL_API AudioIO {
|
||||
/** \brief Returns true if the user should be notified of missing alias warnings
|
||||
*/
|
||||
bool ShouldShowMissingAliasedFileWarning();
|
||||
|
||||
/** \brief Sets the wxDialog that is being displayed
|
||||
* Used by the custom dialog warning constructor and destructor
|
||||
*/
|
||||
void SetMissingAliasFileDialog(wxDialog *dialog);
|
||||
|
||||
/** \brief returns a pointer to the wxDialog if it is displayed, NULL otherwise.
|
||||
*/
|
||||
wxDialog *GetMissingAliasFileDialog();
|
||||
|
||||
/** \brief Function to automatically set an acceptable volume
|
||||
*
|
||||
@@ -527,6 +537,7 @@ private:
|
||||
|
||||
bool m_aliasMissingWarningShouldShow;
|
||||
bool m_aliasMissingWarning;
|
||||
wxDialog *m_aliasMissingWarningDialog;
|
||||
|
||||
#ifdef EXPERIMENTAL_MIDI_OUT
|
||||
volatile bool mMidiThreadFillBuffersLoopRunning;
|
||||
|
||||
Reference in New Issue
Block a user