aboutsummaryrefslogtreecommitdiff
path: root/samples/hello-oboe/src/main/cpp/HelloOboeEngine.h
diff options
context:
space:
mode:
Diffstat (limited to 'samples/hello-oboe/src/main/cpp/HelloOboeEngine.h')
-rw-r--r--samples/hello-oboe/src/main/cpp/HelloOboeEngine.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/samples/hello-oboe/src/main/cpp/HelloOboeEngine.h b/samples/hello-oboe/src/main/cpp/HelloOboeEngine.h
index 7826c784..29231eec 100644
--- a/samples/hello-oboe/src/main/cpp/HelloOboeEngine.h
+++ b/samples/hello-oboe/src/main/cpp/HelloOboeEngine.h
@@ -22,6 +22,7 @@
#include "SoundGenerator.h"
#include "LatencyTuningCallback.h"
#include "IRestartable.h"
+#include "DefaultErrorCallback.h"
constexpr int32_t kBufferSizeAutomatic = 0;
@@ -88,10 +89,10 @@ public:
private:
oboe::Result reopenStream();
oboe::Result createPlaybackStream();
- void updateLatencyDetection();
std::shared_ptr<oboe::AudioStream> mStream;
std::unique_ptr<LatencyTuningCallback> mLatencyCallback;
+ std::unique_ptr<DefaultErrorCallback> mErrorCallback;
std::shared_ptr<SoundGenerator> mAudioSource;
bool mIsLatencyDetectionSupported = false;