538 |
unsigned long WorstCaseFrameSize; ///< For compressed samples only: size (in bytes) of the largest possible sample frame. |
unsigned long WorstCaseFrameSize; ///< For compressed samples only: size (in bytes) of the largest possible sample frame. |
539 |
unsigned long SamplesPerFrame; ///< For compressed samples only: number of samples in a full sample frame. |
unsigned long SamplesPerFrame; ///< For compressed samples only: number of samples in a full sample frame. |
540 |
buffer_t RAMCache; ///< Buffers samples (already uncompressed) in RAM. |
buffer_t RAMCache; ///< Buffers samples (already uncompressed) in RAM. |
541 |
|
unsigned long FileNo; ///< File number (> 0 when sample is stored in an extension file, 0 when it's in the gig) |
542 |
|
|
543 |
Sample(File* pFile, RIFF::List* waveList, unsigned long WavePoolOffset); |
Sample(File* pFile, RIFF::List* waveList, unsigned long WavePoolOffset, unsigned long fileNo = 0); |
544 |
~Sample(); |
~Sample(); |
545 |
/** |
/** |
546 |
* Swaps the order of the data words in the given memory area |
* Swaps the order of the data words in the given memory area |
725 |
void LoadSamples(progress_t* pProgress = NULL); |
void LoadSamples(progress_t* pProgress = NULL); |
726 |
void LoadInstruments(progress_t* pProgress = NULL); |
void LoadInstruments(progress_t* pProgress = NULL); |
727 |
friend class Region; |
friend class Region; |
728 |
|
|
729 |
|
std::list<RIFF::File*> ExtensionFiles; |
730 |
}; |
}; |
731 |
|
|
732 |
/** Will be thrown whenever a gig specific error occurs while trying to access a Gigasampler File. */ |
/** Will be thrown whenever a gig specific error occurs while trying to access a Gigasampler File. */ |