Comments (4)
Yeah. I wonder if it's just something on the SoLoud C++ side "touching" an API, or even just declaring that it will be using some API, and macOS (Xcode?) detecting that. I need to experiment more.
from flutter_soloud.
This is weird!
There are no calls from within SoLoud
to SoLoudCapture
that could trigger the use of a microphone.
Also, AFAIK, the permission should be explicitly written in the Info.plist
and asked in the app code.
I also looked at macos/flutter_soloud.podspec
and there are no references to the microphone.
We could try to remove all the deprecated capture references in soloud.dart
but I highly doubt that this is the problem.
from flutter_soloud.
Since the capture feature is all made using only miniaudio, and the permission dialog should be popped with pkg:permission_handler
, I really think this could be an OS "problem" that thinks that some audio IO is requested.
Don't know much about mc OS, but I found something that I hope may help here
from flutter_soloud.
Thanks for looking into it! I think the salient parts are:
[when] Core Audio opens full duplex devices for both input and output
(I do have an external sound card that does both input and output in one box. I think this is quite rare, fortunately.)
And:
the dialog can be avoided by setting
com.apple.security.device.audio-input
tofalse
in entitlements file. I'll try that.
I'll look into this — setting audio-input to false explicitly.
from flutter_soloud.
Related Issues (20)
- feat: Add custom source data for capturing HOT 3
- fix: Crash when opening a malformed mp3 file HOT 2
- feat: Make it possible to "instance" SoLoud? HOT 3
- feat: Find a better mechanism than the `audioEvent` stream for listening to changes in the engine HOT 3
- feat: Fail-fast more often HOT 2
- feat: WASM support HOT 27
- chore: Address C++ compilation warnings HOT 2
- proposal: Another set of renames HOT 4
- feat: Implement setProtectVoice() HOT 1
- docs: What does disposeSound actually do? HOT 2
- fix: Wrong error reported when trying to add a filter twice
- bug: crash on deinit() HOT 1
- feat: Simplified Recording Mechanism HOT 12
- feat: WaveForm for complete Audiofile HOT 1
- perf: Ability to play precise sound sequences HOT 3
- fix: Missing audio on playing a loaded url HOT 1
- fix: Init error on hot restart HOT 3
- fix: handles become invalid at unknown points HOT 9
- MA_NODE_FLAG_SILENT_OUTPUT duplicates API recursive triggers (bangs) HOT 2
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 flutter_soloud.