We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running the unit tests on an API 19 emulator I get the following test failure and crash:
01-07 16:54:21.506 8591-8605/com.google.oboe.tests.unittestrunner D/com.google.oboe.tests.unittestrunner.MainActivity: [ RUN ] StreamClosedReturnValues.GetDirectionReturnsLastKnownValue 01-07 16:54:21.516 8607-8607/? W/AudioRecord: AUDIO_INPUT_FLAG_FAST denied by client 01-07 16:54:21.516 1176-1369/? W/AudioPolicyManagerBase: getInput() could not find profile for device 80000004, samplingRate 48000, format 1,channelMask 000c 01-07 16:54:21.516 8607-8607/? E/AudioRecord: Could not get audio input for record source 6 01-07 16:54:21.516 8607-8607/? E/libOpenSLES: android_audioRecorder_realize(0xb7cf2670) error creating AudioRecord object 01-07 16:54:21.516 8607-8607/? W/libOpenSLES: Leaving Object::Realize (SL_RESULT_CONTENT_UNSUPPORTED) 01-07 16:54:21.516 8607-8607/? A/libc: Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 8607 (testOboe) 01-07 16:54:21.516 8591-8605/com.google.oboe.tests.unittestrunner D/com.google.oboe.tests.unittestrunner.MainActivity: /Users/donturner/Code/workspace-android/oboe/tests/testStreamClosedMethods.cpp:41: Failure 01-07 16:54:21.516 8591-8605/com.google.oboe.tests.unittestrunner D/com.google.oboe.tests.unittestrunner.MainActivity: Expected equality of these values: 01-07 16:54:21.516 8591-8605/com.google.oboe.tests.unittestrunner D/com.google.oboe.tests.unittestrunner.MainActivity: r 01-07 16:54:21.516 8591-8605/com.google.oboe.tests.unittestrunner D/com.google.oboe.tests.unittestrunner.MainActivity: Which is: 4-byte object <80-FC FF-FF> 01-07 16:54:21.516 8591-8605/com.google.oboe.tests.unittestrunner D/com.google.oboe.tests.unittestrunner.MainActivity: Result::OK 01-07 16:54:21.516 8591-8605/com.google.oboe.tests.unittestrunner D/com.google.oboe.tests.unittestrunner.MainActivity: Which is: 4-byte object <00-00 00-00> 01-07 16:54:21.516 8591-8605/com.google.oboe.tests.unittestrunner D/com.google.oboe.tests.unittestrunner.MainActivity: Failed to open stream ErrorInternal
It looks like the API 19 emulator encounters a problem creating recording streams.
The text was updated successfully, but these errors were encountered:
Still occurring with latest master branch.
Sorry, something went wrong.
Tests pass on API 28 emulator. Additionally the test runner app prompts for the recording permission on startup.
A possible cause for the error on API 19 is that for some reason the recording permission is not being granted.
Successfully merging a pull request may close this issue.
When running the unit tests on an API 19 emulator I get the following test failure and crash:
01-07 16:54:21.506 8591-8605/com.google.oboe.tests.unittestrunner D/com.google.oboe.tests.unittestrunner.MainActivity: [ RUN ] StreamClosedReturnValues.GetDirectionReturnsLastKnownValue
01-07 16:54:21.516 8607-8607/? W/AudioRecord: AUDIO_INPUT_FLAG_FAST denied by client
01-07 16:54:21.516 1176-1369/? W/AudioPolicyManagerBase: getInput() could not find profile for device 80000004, samplingRate 48000, format 1,channelMask 000c
01-07 16:54:21.516 8607-8607/? E/AudioRecord: Could not get audio input for record source 6
01-07 16:54:21.516 8607-8607/? E/libOpenSLES: android_audioRecorder_realize(0xb7cf2670) error creating AudioRecord object
01-07 16:54:21.516 8607-8607/? W/libOpenSLES: Leaving Object::Realize (SL_RESULT_CONTENT_UNSUPPORTED)
01-07 16:54:21.516 8607-8607/? A/libc: Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 8607 (testOboe)
01-07 16:54:21.516 8591-8605/com.google.oboe.tests.unittestrunner D/com.google.oboe.tests.unittestrunner.MainActivity: /Users/donturner/Code/workspace-android/oboe/tests/testStreamClosedMethods.cpp:41: Failure
01-07 16:54:21.516 8591-8605/com.google.oboe.tests.unittestrunner D/com.google.oboe.tests.unittestrunner.MainActivity: Expected equality of these values:
01-07 16:54:21.516 8591-8605/com.google.oboe.tests.unittestrunner D/com.google.oboe.tests.unittestrunner.MainActivity: r
01-07 16:54:21.516 8591-8605/com.google.oboe.tests.unittestrunner D/com.google.oboe.tests.unittestrunner.MainActivity: Which is: 4-byte object <80-FC FF-FF>
01-07 16:54:21.516 8591-8605/com.google.oboe.tests.unittestrunner D/com.google.oboe.tests.unittestrunner.MainActivity: Result::OK
01-07 16:54:21.516 8591-8605/com.google.oboe.tests.unittestrunner D/com.google.oboe.tests.unittestrunner.MainActivity: Which is: 4-byte object <00-00 00-00>
01-07 16:54:21.516 8591-8605/com.google.oboe.tests.unittestrunner D/com.google.oboe.tests.unittestrunner.MainActivity: Failed to open stream ErrorInternal
It looks like the API 19 emulator encounters a problem creating recording streams.
The text was updated successfully, but these errors were encountered: