remove hasSampleInsHeader()
- it is only used by MultiPCM - an alternative approach is in place
This commit is contained in:
parent
c1b7a06a37
commit
3a06e7b963
7 changed files with 21 additions and 92 deletions
|
|
@ -221,10 +221,6 @@ bool DivDispatch::hasSamplePtrHeader(int index) {
|
|||
return false;
|
||||
}
|
||||
|
||||
bool DivDispatch::hasSampleInsHeader(int index) {
|
||||
return false;
|
||||
}
|
||||
|
||||
size_t DivDispatch::getSampleMemOffset(int index) {
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -566,10 +566,6 @@ bool DivPlatformMultiPCM::hasSamplePtrHeader(int index) {
|
|||
return (index==0);
|
||||
}
|
||||
|
||||
bool DivPlatformMultiPCM::hasSampleInsHeader(int index) {
|
||||
return (index==0);
|
||||
}
|
||||
|
||||
bool DivPlatformMultiPCM::isSampleLoaded(int index, int sample) {
|
||||
if (index!=0) return false;
|
||||
if (sample<0 || sample>32767) return false;
|
||||
|
|
|
|||
|
|
@ -130,7 +130,6 @@ class DivPlatformMultiPCM: public DivDispatch {
|
|||
size_t getSampleMemCapacity(int index);
|
||||
size_t getSampleMemUsage(int index);
|
||||
bool hasSamplePtrHeader(int index=0);
|
||||
bool hasSampleInsHeader(int index=0);
|
||||
bool isSampleLoaded(int index, int sample);
|
||||
const DivMemoryComposition* getMemCompo(int index);
|
||||
void renderSamples(int chipID);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue