Git Product home page Git Product logo

Comments (6)

dturner avatar dturner commented on May 3, 2024

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.

SchmadenSchmuki avatar SchmadenSchmuki commented on May 3, 2024

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.

dturner avatar dturner commented on May 3, 2024

I have a feeling you may have found a bug. Currently investigating.

from oboe.

SchmadenSchmuki avatar SchmadenSchmuki commented on May 3, 2024

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.

dturner avatar dturner commented on May 3, 2024

Actions: Phil has a spreadsheet which contains all the state transitions, this needs publishing.

from oboe.

philburk avatar philburk commented on May 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.