Output over Alsa Soundserver #576
-
Hi, /etc/asound.conf Script
I can start the script with |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 24 replies
-
If your device is "dmixable" you can configure a software mixed output so multiple applications can send sound to the soundbar at the same time. The problem being though that dmix (ALSA's software mixer) does not support I'm afraid without software mixing of some kind 99.9% of devices can not play audio from multiple sources simultaneously. This is not a Linux or ALSA limitation it's a hardware limitation. Unless a device has a hardware mixer (again 99.9% don't) concurrent access of the raw device is not possible. If the device as more than 2 channels a workaround may be to split the device into 2 virtual devices with your noise going to the channels not being used by librespot. What is the output of |
Beta Was this translation helpful? Give feedback.
-
Damn i run into a new problem using the sollution above. And its even more terrifying. |
Beta Was this translation helpful? Give feedback.
-
30kHz is well beyond human hearing. What you're maybe hearing at 32kHz is the amp becomeing unstable because you might be hitting some harmonic of the PWM's carrier freq? Ofc at that freq everything is all harmonics 44100 sampling rate can't produce anything over 22kHz. |
Beta Was this translation helpful? Give feedback.
-
As far as the volume goes I'm pretty sure it's integer only. |
Beta Was this translation helpful? Give feedback.
30kHz is well beyond human hearing. What you're maybe hearing at 32kHz is the amp becomeing unstable because you might be hitting some harmonic of the PWM's carrier freq? Ofc at that freq everything is all harmonics 44100 sampling rate can't produce anything over 22kHz.