You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
oboe::AudioStreamBuilder builder;
oboe::AudioStream* stream;
auto result = builder.openStream(&stream);
if (result != oboe::Result::OK) {
__android_log_print(ANDROID_LOG_ERROR, "OboeCrashTest", "Could not open stream");
}
result = stream->requestStart();
if (result != oboe::Result::OK){
__android_log_print(ANDROID_LOG_ERROR, "OboeCrashTest", "Could not start stream");
}
Expected result
result is an error after builder.openStream or after stream->requestStart(), or the stream starts without error
The text was updated successfully, but these errors were encountered:
dturner
changed the title
Calling requestStart without setting callback results in crash
Calling requestStart without setting callback results in crash when using aaudio::AudioStreamLegacy
Jan 10, 2018
Devices tested:
Sony Xperia XZ (Model: F8331)
Android version: 8.0.0
Build number: 41.3.A.2.24
Nexus 6P
Android version: 8.1.0
Build number: OPM3.171019.012
Not affected: Pixel running 7.1.2
Steps to repro:
Expected result
result
is an error afterbuilder.openStream
or afterstream->requestStart()
, or the stream starts without errorActual result
The text was updated successfully, but these errors were encountered: