Comments (3)
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.
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.
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)
- Hooks don't fire HOT 2
- Not able to connect
- Volume Control Inconsistent
- Display track metadata HOT 2
- Jumps to full volume when using volume control HOT 1
- Crashes on reconnect after going out and back in to coverage
- Ways to reduce latency HOT 3
- Play Soundeffects while Bluetoothmusic plays HOT 2
- too much underrun on raspbian buster HOT 1
- Service running but not Discoverable HOT 1
- Quits working after reboot HOT 1
- Bluez Media Api Support
- Broken under Raspbian / Raspberry Pi OS HOT 13
- Installation aborts - python3-alsaaudio not found HOT 1
- Volume control on windows jumps to 100 after connecting to pi
- Issues while using infrared with piGPIO
- Connects as intended, no sound
- Cannot set/control headphones with amixer to set them as default
- DbusException complains about missing attribute
- `python-gobject` no longer available on newer version of Debian
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 bt-speaker.