Commit 2e3caf1 1 parent 8fb3073 commit 2e3caf1 Copy full SHA for 2e3caf1
File tree 1 file changed +2
-2
lines changed
apps/OboeTester/app/src/main/cpp
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -432,10 +432,10 @@ void ActivityTestOutput::configureAfterOpen() {
432
432
for (int i = 0 ; i < mChannelCount ; i++) {
433
433
sineOscillators[i].setSampleRate (outputStream->getSampleRate ());
434
434
sineOscillators[i].frequency .setValue (frequency);
435
- sineOscillators[i].amplitude .setValue (AMPLITUDE_SINE);
435
+ sineOscillators[i].amplitude .setValue (AMPLITUDE_SINE / mChannelCount );
436
436
sawtoothOscillators[i].setSampleRate (outputStream->getSampleRate ());
437
437
sawtoothOscillators[i].frequency .setValue (frequency);
438
- sawtoothOscillators[i].amplitude .setValue (AMPLITUDE_SAWTOOTH);
438
+ sawtoothOscillators[i].amplitude .setValue (AMPLITUDE_SAWTOOTH / mChannelCount );
439
439
440
440
frequency *= interval; // each wave is at a higher frequency
441
441
setChannelEnabled (i, true );
You can’t perform that action at this time.
0 commit comments