⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 loadnyquist.cpp

📁 Audacity是一款用於錄音和編輯聲音的、免費的開放源碼軟體。它可以執行於Mac OS X、Microsoft Windows、GNU/Linux和其它作業系統
💻 CPP
字号:
/**********************************************************************  Audacity: A Digital Audio Editor  LoadNyquist.cpp  Dominic Mazzoni**********************************************************************/#include <wx/defs.h>#include <wx/filefn.h>#include <wx/list.h>#include <wx/log.h>#include <wx/string.h>#include "../../Audacity.h"#include "../../AudacityApp.h"#include "Nyquist.h"void LoadNyquistEffect(wxString fname){   EffectNyquist *effect = new EffectNyquist(fname);   if (effect->LoadedNyFile())      Effect::RegisterEffect(effect);   else      delete effect;}void LoadNyquistPlugins(){   wxArrayString audacityPathList = wxGetApp().audacityPathList;   wxArrayString pathList;   wxArrayString files;   unsigned int i;   // Create one "interactive Nyquist"   EffectNyquist *effect = new EffectNyquist(wxT(""));   Effect::RegisterEffect(effect);   // Load .ny plug-ins   for(i=0; i<audacityPathList.GetCount(); i++) {      wxString prefix = audacityPathList[i] + wxFILE_SEP_PATH;      wxGetApp().AddUniquePathToPathList(prefix + wxT("nyquist"),                                         pathList);      wxGetApp().AddUniquePathToPathList(prefix + wxT("plugins"),                                         pathList);      wxGetApp().AddUniquePathToPathList(prefix + wxT("plug-ins"),                                         pathList);   }   wxGetApp().FindFilesInPathList(wxT("*.ny"), pathList, wxFILE, files);   for(i=0; i<files.GetCount(); i++)      LoadNyquistEffect(files[i]);}// Indentation settings for Vim and Emacs and unique identifier for Arch, a// version control system. Please do not modify past this point.//// Local Variables:// c-basic-offset: 3// indent-tabs-mode: nil// End://// vim: et sts=3 sw=3// arch-tag: 4d0ce991-4c11-40a7-952f-3d9250b2f813

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -