How to play two sounds at the same time?

1,656

This is an issue with the audioplayer plugin and there's an issue open for it already. The author has indicated that he's open to pull requests if you'd like to take a crack at implementing it.

Share:
1,656
Rémi Rousselet
Author by

Rémi Rousselet

Dart makes my heart Flutter Some interesting Flutter topics: https://medium.com/@darky12s/flutter-reducing-widgets-boilerplate-3e635f10685e Custom width/height property for a widget are ignored Controlling State from outside of a StatefulWidget What are Keys in the Stateless widgets class? What is the difference between functions and classes to create widgets? How to deal with unwanted widget build? Understanding Flutter Render Engine Navigator operation requested with a context that does not include a Navigator What is the relation between stateful and stateless widgets in Flutter? Passing Data to a Stateful Widget

Updated on December 03, 2022

Comments

  • Rémi Rousselet
    Rémi Rousselet over 1 year

    I've been trying a few things with sounds in flutter lately . Using audioPlayer plugin.

    But I'm facing a wall. I have both a background music, and small sounds effects. The problem is that I can't play both at once. If I play the background music, then the sound effect won't play. And the opposite works too.

    Any idea about how to solve that issue ?

  • Rémi Rousselet
    Rémi Rousselet over 6 years
    Thanks, but sadly this won't work. It isn't a native android app. But an app done using Flutter's framework, in dartlang.
  • Anthony Cannon
    Anthony Cannon about 6 years
    This gives a MediaPlayer finalized without being released error.