Comments (9)
The EXCLUSIVE mode is for exclusive access to the special MMAP path.
It is not exclusive for all audio. Other apps can play audio over the Legacy (non-MMAP) path even when your app have EXCLUSIVE MMAP access.
from oboe.
Ran Data Paths.
data paths.zip
from oboe.
It's really strange because your device is only opening shared streams. Can you attach a bug report?
from oboe.
It's really strange because your device is only opening shared streams.
It seems OboeTester is only requesting Shared streams and not Exclusive streams.
It was probably considered redundant because Shared streams are built on top of Exclusive streams.
So if Exclusive failed then Shared would fail.
from oboe.
I created an internal bug for Samsung:
b/322234897 | P2 | Samsung A21S audio MMAP output is silent
from oboe.
It looks like I can't reproduce it anymore. Ran Data Paths again and every test passed. I restarted my phone not too long ago, so maybe MMAP output just broke after some time of my phone being active?
data_paths.zip
from oboe.
Also, I noticed that audio stream still gets exclusive sharing mode even if there is audio playing in the other app. I might understand exclusive sharing mode wrong, but isn't it supposed to work only if one audio stream is playing, so that it would be possible to directly write audio data to the output? If I understand the mode correctly, then it might be possible that the device just tells the app that exclusive sharing mode is obtained when it actually failed and the same happens with MMAP.
from oboe.
Also, I noticed that audio stream still gets exclusive sharing mode even if there is audio playing in the other app.
Audio stream didn't get exclusive sharing mode when I ran the app that requests exclusive sharing mode. But audio stream gets exclusive sharing mode when the other app requests shared sharing mode. Is this expected behavior?
from oboe.
Related Issues (20)
- OboeTester: need checkbox to disable call to setStreamControlByAttributes()
- StreamDataCallback onAudioReady audioData pointer SegFault HOT 9
- Add IEC61937 support in OboeTester
- OboeTester display often too big for small phones
- Oboe Tester - Test Disconnect - Skip the test will leave a "Failed" message in status area
- OboeTester needs a Java echo test HOT 1
- OboeTester should have an option to test sample rates in the data paths test
- OboeTester latency analysis is too slow
- OboeTester Data Paths needs to test input with a session ID
- OboeTester: setting ChannelMask should clear Channels HOT 1
- OpenSL ES using wrong stream type for RINGTONE
- ANR happens if plugin headset while do recording HOT 7
- getPeakLevel() called before setup(), logspam HOT 1
- 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
- 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
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.