#include <LoaderAIFF.h>
Inheritance diagram for AIFFLoader:

Public Member Functions | |
| AIFFLoader () | |
| Constructor.   | |
| virtual | ~AIFFLoader () | 
| Destructor.   | |
| virtual const wxString & | Name () const | 
| Loader name.   | |
| virtual enum status_t | Attach (wxFile *file, const wxString &name) | 
| Attach file to the loader.   | |
| virtual enum status_t | Create (wxFile *file, const wxString &name, const format_t &fmt) | 
| Create new file and attach.   | |
| virtual enum status_t | Create (wxFile *file, const wxString &name, const format_ex_t &fmt) | 
| Create new file and attach (multitrack).   | |
| virtual track_t | NumIntTracks () const | 
| Get number of internal tracks.   | |
| virtual const format_t * | TrackFormat (const track_t itrack) const | 
| Get wave format.   | |
| virtual const wxString * | FileName () const | 
| Get filename.   | |
| virtual length_t | GetRawLength () const | 
| Get raw length.   | |
| virtual samples_t | GetSamples (const track_t itrack, const samples_t pos, const samples_t len, void *data) | 
| Get samples.   | |
| virtual samples_t | AppendSamples (const track_t itrack, const samples_t len, void *data, samples_t &npos) | 
| Append new samples.   | |
| virtual samples_t | AppendSamples (const samples_t len, void *data) | 
| Append new samples (multitrack).   | |
Static Public Member Functions | |
| Loader * | RegisterLoader () | 
| Instance registrator.   | |
Private Member Functions | |
| void | done () | 
| Cleanup.   | |
| enum status_t | create_generic (wxFile *file, const wxString &name, const enum encoding_t encoding, const enum samplewidth_t samplewidth, const enum bitencoding_t bitencoding, const samplerate_t rate, const track_t channels, const size_t sample_len) | 
| Create new file (generic).   | |
Private Attributes | |
| wxFile * | cf | 
| Physical file.   | |
| wxString | fname | 
| Filename.   | |
| format_t | format | 
| Audio format.   | |
| track_t | tracks | 
| Number of internal tracks.   | |
| Datas | datas | 
| Data areas.   | |
Loader for Electronic Arts' IFF files, especially their wave audio variant.
      
  | 
  
| 
 Constructor. Initializes an empty loader.  | 
  
      
  | 
  
| 
 Destructor. Does cleanup, closes the physical file (if open).  | 
  
      
  | 
  ||||||||||||
| 
 Append new samples (multitrack). Append new samples at the end of the file (multichannel). 
 
 
 Implements Loader.  | 
  
      
  | 
  ||||||||||||||||||||
| 
 Append new samples. Append new samples at the end of the file and return the physical sample position. 
 
 
 Implements Loader.  | 
  
      
  | 
  ||||||||||||
| 
 Attach file to the loader. Checks whether 'file' is an AIFF file with supported properties and if so then attaches it to the loader. 
 
 
 Implements Loader.  | 
  
      
  | 
  ||||||||||||||||
| 
 Create new file and attach (multitrack). 
 
 
 Implements Loader.  | 
  
      
  | 
  ||||||||||||||||
| 
 Create new file and attach. 
 
 
 Implements Loader.  | 
  
      
  | 
  ||||||||||||||||||||||||||||||||||||
| 
 Create new file (generic). 
 
 
  | 
  
      
  | 
  
| 
 Cleanup. Closes the physical file (if open).  | 
  
      
  | 
  
| 
 Get filename. 
 
 Implements Loader.  | 
  
      
  | 
  
| 
 Get raw length. 
 
 Implements Loader.  | 
  
      
  | 
  ||||||||||||||||||||
| 
 Get samples. Fills the given buffer with a given number of samples from a given position and internal track (channel). 
 
 
 Implements Loader.  | 
  
      
  | 
  
| 
 Loader name. 
 
 Implements Loader.  | 
  
      
  | 
  
| 
 Get number of internal tracks. 
 
 Implements Loader.  | 
  
      
  | 
  
| 
 Instance registrator. 
 
  | 
  
      
  | 
  
| 
 Get wave format. 
 
 Implements Loader.  | 
  
      
  | 
  
| 
 Physical file. 
  | 
  
      
  | 
  
| 
 Data areas. 
  | 
  
      
  | 
  
| 
 Filename. 
  | 
  
      
  | 
  
| 
 Audio format. 
  | 
  
      
  | 
  
| 
 Number of internal tracks. 
  | 
  
 
1.3.5