Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a133 board: fix multiple audio issues: use pipewire #221

Merged

Conversation

andriniaina
Copy link

@andriniaina andriniaina commented Dec 18, 2024

/!\ tested only on Trimui Smart Pro

Currently on a133 boards

  • we force all apps to directly use ALSA. Pipewire is used only for volume control -- Pipewire never receives any audio stream
  • the ALSA volume control "Headphone" is actually some sort of attenuation filter (volume control is "inverted" => 0 is actually 100%, and its value should always be forced kept at 0)

This PR aims to change the above by fully leveraging Pipewire, and therefore also fixes multiples audio QoL on knulli for a133 boards. I deleted most of the weird ALSA-specific commands, to stay closer to batocera.

  • now supports bluetooth headphones, also supports any audio device connected the USB-C host port (sound bar speakers, headset, etc)
  • automatic switching to headphones and back to speakers if disconnected
  • multiple audio streams/apps at the same time
  • no more muted or inverted volume controls
  • multiple audio profiles

@acmeplus acmeplus merged commit d0bb098 into knulli-cfw:knulli-main Dec 18, 2024
@andriniaina andriniaina deleted the fix-a133-audio-pipewire branch December 18, 2024 16:03
@andriniaina
Copy link
Author

Fixes #54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants