Do not require mod generators to override a couple of methods
This commit is contained in:
parent
acac06aae8
commit
fb873ad895
1 changed files with 2 additions and 2 deletions
|
|
@ -24,12 +24,12 @@ public:
|
||||||
/**
|
/**
|
||||||
* @brief Set the sample rate
|
* @brief Set the sample rate
|
||||||
*/
|
*/
|
||||||
virtual void setSampleRate(double sampleRate) = 0;
|
virtual void setSampleRate(double sampleRate) { (void)sampleRate; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Set the maximum block size
|
* @brief Set the maximum block size
|
||||||
*/
|
*/
|
||||||
virtual void setSamplesPerBlock(unsigned count) = 0;
|
virtual void setSamplesPerBlock(unsigned count) { (void)count; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Initialize the generator.
|
* @brief Initialize the generator.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue