mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:24:00 +02:00
default sine gain set to -6db
This commit is contained in:
parent
256bd627fa
commit
2383379a35
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ void AudioSourceTone::updateCoefficients() {
|
|||
|
||||
void AudioSourceTone::initialize() {
|
||||
const float32_t FREQUENCY_220_HZ = 220.0f;
|
||||
const float32_t GAIN_MINUS_3DB = 0.708f;
|
||||
setParameters(SAMPLE_RATE, FREQUENCY_220_HZ, GAIN_MINUS_3DB);
|
||||
const float32_t GAIN_MINUS_6DB = 0.501f;
|
||||
setParameters(SAMPLE_RATE, FREQUENCY_220_HZ, GAIN_MINUS_6DB);
|
||||
}
|
||||
|
||||
void AudioSourceTone::setParameters(const float32_t sampleRate, const float32_t frequency, const float32_t amplitude) {
|
||||
|
|
Loading…
Reference in a new issue