Comments (6)
Hello SchmadenSchmuki,
Many thanks for filing this issue. What API version are you using on the emulator? There was an internal bug (id: 62781173) which matches the behaviour you're experiencing but this was fixed in API 27 (Oreo MR1).
from oboe.
Thanks for the help.
Changed the API in the emulator to 27 and that was partly successful.
I now get the expected result after requestStart, so 4 for started,
after requestStop it's still the same, result of 9 for stopping (sound stopped).
So, if I'm testing on a real phone I won't have this problem?
Thanks a lot
SchmadenSchmuki
from oboe.
I have a feeling you may have found a bug. Currently investigating.
from oboe.
Played a little around with AAudio as well and noticed the same behaviour, AAudioStream_requestStop(), sound stopped but AAudioStream_getState() returnvalue remained 9.
So maybe it has something to do with AAudio (executed on android emulator API 27, minSdkVersion 26, targetSdkVersion 26).
from oboe.
Actions: Phil has a spreadsheet which contains all the state transitions, this needs publishing.
from oboe.
requestStart() can take a while to actually start. But should change to STARTED state within 200-300 msec. requestStop() had a problem where the state got stuck at STOPPING even though the stream was actually stopped. This is a known bug for LOW_LATENCY mode on some devices in O and O-MR1. It is fixed in AAudio but the fix is not yet released.
internal bug b/69810494
from oboe.
Related Issues (20)
- Warning printed even when shared_ptr is used to call openStream HOT 1
- Trying to use oboe from binnaries but not working.. HOT 5
- 16-bit mono plays at wrong rate HOT 2
- No audio on Samsung Galaxy A21s when MMAP is enabled HOT 9
- Keep screen always on for test disconnect in OboeTester HOT 2
- TEST DISCONNECT doesn't work for USB device
- isMMapEnabled() always returns false if setMMapEnabled(f) never called HOT 1
- Honor CTS-NX1: only InputPreset oboe::Unprocessed for input stream is working, VoicePerformance not working HOT 6
- What are the advantages of using aaudio through oboe? HOT 7
- OboeTester Data Paths needs max channel menu
- Compiler warnings when building Oboe for CTS Verifier
- OboeTester needs a test for numeric wraparound
- Is it possible to change the number of audio words in a frame in LiveEffect? HOT 11
- Compile warnings when building Oboe with AAudio
- Build warnings when building external oboe in the framework
- oneplus 6 uses opensles through oboe, there will be no voice with mono channel capture HOT 6
- OboeTester crash when running disconnect test
- Can oboe support custom log printing?
- System screen recorder doesn't capture audio in Oboe sample apps
- Help to resolve crash [libc++_shared.so] abort_message.cpp - abort_message HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oboe.