const getSilenceWavetable
This commit is contained in:
parent
9d8bfa5b82
commit
29fc84fb09
2 changed files with 2 additions and 2 deletions
|
|
@ -250,7 +250,7 @@ WavetableMulti WavetableMulti::createForHarmonicProfile(
|
||||||
return wm;
|
return wm;
|
||||||
}
|
}
|
||||||
|
|
||||||
WavetableMulti* WavetableMulti::getSilenceWavetable()
|
const WavetableMulti* WavetableMulti::getSilenceWavetable()
|
||||||
{
|
{
|
||||||
static WavetableMulti wm;
|
static WavetableMulti wm;
|
||||||
wm.allocateStorage(1);
|
wm.allocateStorage(1);
|
||||||
|
|
|
||||||
|
|
@ -160,7 +160,7 @@ public:
|
||||||
const HarmonicProfile& hp, double amplitude, unsigned tableSize = config::tableSize, double refSampleRate = 44100.0);
|
const HarmonicProfile& hp, double amplitude, unsigned tableSize = config::tableSize, double refSampleRate = 44100.0);
|
||||||
|
|
||||||
// get a tiny silent wavetable with null content for use with oscillators
|
// get a tiny silent wavetable with null content for use with oscillators
|
||||||
static WavetableMulti* getSilenceWavetable();
|
static const WavetableMulti* getSilenceWavetable();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// get a pointer to the beginning of the N-th table
|
// get a pointer to the beginning of the N-th table
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue