Skip to content

Commit b7b2df3

Browse files
committed
Refactored 'mExactBlipGenerator' to 'mBlipGenerator'
1 parent 2b71811 commit b7b2df3

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

apps/OboeTester/app/src/main/cpp/NativeAudioContext.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -771,16 +771,16 @@ void ActivityTapToTone::configureAfterOpen() {
771771
mSawPingGenerator.setSampleRate(outputStream->getSampleRate());
772772
mSawPingGenerator.frequency.setValue(FREQUENCY_SAW_PING);
773773
mSawPingGenerator.amplitude.setValue(AMPLITUDE_SAW_PING);
774-
mExactBlipGenerator.setSampleRate(outputStream->getSampleRate());
774+
mBlipGenerator.setSampleRate(outputStream->getSampleRate());
775775

776776
if (mUseToneGeneratorType == "Blip"){
777-
mExactBlipGenerator.output.connect(&(monoToMulti->input));
777+
mBlipGenerator.output.connect(&(monoToMulti->input));
778778
} else if (mUseToneGeneratorType == "Saw"){
779779
mSawPingGenerator.output.connect(&(monoToMulti->input));
780780
} else if (mUseToneGeneratorType == "NoisePulse"){
781781
mNoisePulseGenerator.output.connect(&(monoToMulti->input));
782782
} else {
783-
mExactBlipGenerator.output.connect(&(monoToMulti->input));
783+
mBlipGenerator.output.connect(&(monoToMulti->input));
784784
}
785785

786786
monoToMulti->output.connect(&(mSinkFloat.get()->input));

apps/OboeTester/app/src/main/cpp/NativeAudioContext.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -559,14 +559,14 @@ class ActivityTapToTone : public ActivityTestOutput {
559559

560560
void trigger() override {
561561
if (mUseToneGeneratorType == "Blip"){
562-
mExactBlipGenerator.trigger();
562+
mBlipGenerator.trigger();
563563
} else if (mUseToneGeneratorType == "Saw"){
564564
mSawPingGenerator.trigger();
565565
} else if (mUseToneGeneratorType == "NoisePulse"){
566566
mNoisePulseGenerator.trigger();
567567
} else {
568568
// By default use Blip
569-
mExactBlipGenerator.trigger();
569+
mBlipGenerator.trigger();
570570
}
571571
}
572572

@@ -577,7 +577,7 @@ class ActivityTapToTone : public ActivityTestOutput {
577577

578578
std::string mUseToneGeneratorType;
579579
SawPingGenerator mSawPingGenerator;
580-
BlipGenerator mExactBlipGenerator;
580+
BlipGenerator mBlipGenerator;
581581
NoisePulseGenerator mNoisePulseGenerator;
582582
};
583583

0 commit comments

Comments
 (0)