8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb01be5 commit 1f62387Copy full SHA for 1f62387
src/aaudio/AudioStreamAAudio.cpp
@@ -239,6 +239,11 @@ Result AudioStreamAAudio::open() {
239
mAAudioStream.store(stream);
240
}
241
if (result != Result::OK) {
242
+ // Warn developer because ErrorInternal is not very informative.
243
+ if (result == Result::ErrorInternal && mDirection == Direction::Input) {
244
+ LOGW("AudioStreamAAudio.open() may have failed due to lack of "
245
+ "audio recording permission.");
246
+ }
247
goto error2;
248
249
0 commit comments