Code Monkey home page Code Monkey logo

Comments (3)

ryanheise avatar ryanheise commented on July 21, 2024

It sounds like this would best be a fit for audio_service. I know the distinction between APIs can be a bit confusing, but:

  • audio_session is more about querying the audio hardware, requesting permission to use the audio hardware, and letting the OS know how your app intends to use the audio hardware and interact with other audio apps.
  • audio_service deals with a different set of APIs that involve the now playing info, controlling the audio (play pause, next track), and playing audio in the background.

That said, audio_service was designed to help you write the app that is actually playing the music and showing the controls and now playing info. It also includes an API to allow you to connect to an existing audio service that is running, but it currently assumes that you are connecting to your own app. This could be extended such that you could connect to other apps.

from audio_session.

shinyford avatar shinyford commented on July 21, 2024

Thanks for the feedback - really interesting. Okay, I'll dig into audio_service to see if I can work out what needs to be done, and send you a PR if and when I make progress. Cheers!

from audio_session.

ryanheise avatar ryanheise commented on July 21, 2024

Sounds good! I'd suggest creating a feature request there before working on your pull request where we can discuss the issue.

from audio_session.

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.