arkq / bluez-alsa

Bluetooth Audio ALSA Backend
MIT License
863 stars 189 forks source link

Bluealsa audio card isn't visible in alsamixer #736

Open sergey-suloev opened 1 week ago

sergey-suloev commented 1 week ago

Feature description

Would be nice to have Bluealsa audio card visible in alsamixer

arkq commented 1 week ago

Unfortunately it's not that easy. The ALSA "bluealsa" type is not a card but a software device. It does not appear in any of the kernel /proc/asound/* components. In order to be automatically listed by ALSA API as a card, ALSA would need to support "software" cards or something like that. Other option is to create a kernel module which would add BlueALSA to kernel as a "Bluetooth" audio card (something like snd-aloop, but instead of creating two linked PCMs, this module would register Bluetooth devices as cards, and connected audio profiles as PCMs). Then (theoretically) every software which is compatible with ALSA kernel API (PipeWire, PuleAudio, ALSA) could use Bluetooth devices. Unfortunately, my time availability for open-source projects will not hold such task :D