Disable built-in NaN handler through hidden setting (#4787)

* Disable built-in NaN handler through hidden setting

* Reuse code
This commit is contained in:
Javier Serrano Polo
2019-01-31 23:12:45 +01:00
committed by GitHub
parent 0a47b0c8cd
commit b28d405240
5 changed files with 60 additions and 0 deletions

View File

@@ -33,6 +33,10 @@ namespace MixHelpers
bool isSilent( const sampleFrame* src, int frames );
bool useNaNHandler();
void setNaNHandler( bool use );
bool sanitize( sampleFrame * src, int frames );
/*! \brief Add samples from src to dst */

View File

@@ -142,6 +142,7 @@ private:
bool m_MMPZ;
bool m_disableBackup;
bool m_openLastProject;
bool m_NaNHandler;
bool m_hqAudioDev;
QString m_lang;
QStringList m_languages;