Code Monkey home page Code Monkey logo

Comments (4)

filiph avatar filiph commented on May 23, 2024 1

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.

alnitak avatar alnitak commented on May 23, 2024

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.

alnitak avatar alnitak commented on May 23, 2024

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.

filiph avatar filiph commented on May 23, 2024

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 to false in entitlements file. I'll try that.

I'll look into this — setting audio-input to false explicitly.

from flutter_soloud.

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.