1272 |
} |
} |
1273 |
|
|
1274 |
Sample* Region::GetSampleFromWavePool(unsigned int WavePoolTableIndex) { |
Sample* Region::GetSampleFromWavePool(unsigned int WavePoolTableIndex) { |
1275 |
|
if ((int32_t)WavePoolTableIndex == -1) return NULL; |
1276 |
File* file = (File*) GetParent()->GetParent(); |
File* file = (File*) GetParent()->GetParent(); |
1277 |
unsigned long soughtoffset = file->pWavePoolTable[WavePoolTableIndex]; |
unsigned long soughtoffset = file->pWavePoolTable[WavePoolTableIndex]; |
1278 |
Sample* sample = file->GetFirstSample(); |
Sample* sample = file->GetFirstSample(); |