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

📄 import.h

📁 Audacity是一款用於錄音和編輯聲音的、免費的開放源碼軟體。它可以執行於Mac OS X、Microsoft Windows、GNU/Linux和其它作業系統
💻 H
字号:
/**********************************************************************  Audacity: A Digital Audio Editor  Import.h  Dominic Mazzoni  This file contains a general function which will import almost  any type of sampled audio file (i.e. anything except MIDI)  and return the tracks that were imported.  This function just  figures out which one to call; the actual importers are in  ImportPCM, ImportMP3, ImportOGG, ImportRawData, and ImportLOF.**********************************************************************/#ifndef _IMPORT_#define _IMPORT_#include <wx/string.h>#include <wx/list.h>#include <wx/listimpl.cpp>class TrackFactory;class Track;class ImportPlugin;class ImportFileHandle;class UnusableImportPlugin;typedef bool (*progress_callback_t)( void *userData, float percent );class Format {public:   wxString formatName;   wxStringList formatExtensions;   Format(wxString _formatName, wxStringList _formatExtensions):      formatName(_formatName),      formatExtensions(_formatExtensions)   {   }};class ImportPluginList;class UnusableImportPluginList;WX_DECLARE_LIST(Format, FormatList);class Importer {public:   Importer();   ~Importer();   void GetSupportedImportFormats(FormatList *formatList);   // returns number of tracks imported   // if zero, the import failed and errorMessage will be set.   int Import(wxString fName,              TrackFactory *trackFactory,              Track *** tracks,              wxString &errorMessage,              progress_callback_t progressCallback,              void *userData);   // get a possibly more detailed description of the kind of file   // that is being opened.  ONLY callable from INSIDE THE CALLBACK.   wxString GetFileDescription();private:   ImportPluginList *mImportPluginList;   UnusableImportPluginList *mUnusableImportPluginList;   ImportFileHandle *mInFile;};#endif// 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: 30d8bb1f-1e74-4cec-918c-4b36a9a75c49

⌨️ 快捷键说明

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