1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-22 14:32:58 +02:00

bug 26 - add modeless warning dialog for missing aliased files during playback.

This commit is contained in:
mchinen
2011-03-01 01:29:03 +00:00
parent 26786aff95
commit 5e4250e302
7 changed files with 97 additions and 4 deletions

View File

@@ -305,6 +305,22 @@ class AUDACITY_DLL_API AudioIO {
*/
static bool ValidateDeviceNames(wxString play, wxString rec);
/** \brief Mark playback as having missing aliased blockfiles
*
* Playback will continue, but the missing files will be silenced
* ShouldShowMissingAliasedFileWarning can be called to determine
* if the user should be notified
*/
void MarkAliasedFilesMissingWarning();
/** \brief Changes the behavior of missing aliased blockfiles warnings
*/
void SetMissingAliasedFileWarningShouldShow(bool b);
/** \brief Returns true if the user should be notified of missing alias warnings
*/
bool ShouldShowMissingAliasedFileWarning();
/** \brief Function to automatically set an acceptable volume
*
*/
@@ -509,6 +525,9 @@ private:
volatile bool mAudioThreadFillBuffersLoopRunning;
volatile bool mAudioThreadFillBuffersLoopActive;
bool m_aliasMissingWarningShouldShow;
bool m_aliasMissingWarning;
#ifdef EXPERIMENTAL_MIDI_OUT
volatile bool mMidiThreadFillBuffersLoopRunning;
volatile bool mMidiThreadFillBuffersLoopActive;