GithubHelp home page GithubHelp logo

Comments (3)

lukasjapan avatar lukasjapan commented on August 21, 2024

I think your sound card (plug0) does not have an integrated hardware mixer.
That is why you can only use one sound stream at a time, preventing the login/logout sounds which are played after the bluetooth audio stream connects (to your soundcard).

I don't think a mixer function belongs in this repository, so your best bet is to setup a software mixer with alsa.

http://alsa.opensrc.org/Hardware_mixing,_software_mixing

Or you could try to use a full suite like pulseaudio or jack.
But I only had trouble with those on the Pi, thats the reason I made this project.

from bt-speaker.

photon-schiesser avatar photon-schiesser commented on August 21, 2024

Or you could try to use a full suite like pulseaudio or jack.
But I only had trouble with those on the Pi, thats the reason I made this project.

And that's the reason I am using this project. I love simple and low-level over the black magic of pulseaudio.

I think software mixing is the ticket. Thanks for your help.

I would like to leave this open until I can post a solution or my findings. What do you think?

Just out of curiosity, do you think the lack of a hardware mixer is due to a driver issue, or the USB audio chip (PCM2704) simply lacks the functionality?

from bt-speaker.

lukasjapan avatar lukasjapan commented on August 21, 2024

A very quick research left me with even more questions but I get the impression that the mixing function is build in the driver (called mmap) rather than using real hardware mixing.

Anybody correct me if I am wrong.

ALSA seems to have settings for mmap in the config too. I think people will appreciate it if you can manage to post a working config.

from bt-speaker.

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.