-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
enhance(main/cmus): enable ALSA output #25062
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
Conversation
when paired with root, should enable bit-perfect playback with ALSA Signed-off-by: fukiame <[email protected]>
Signed-off-by: fukiame <[email protected]>
It is an interesting idea, but I wondered, do you have a device where you can confirm that this is completely working? |
Just gonna throw my "testing PRs" saved reply in here for instructions. (This is a pre-written, saved reply.) After downloading the build artifact, make sure to Detailed instructions, if needed.
# finding out what architecture you need
# architecture is just below the TERMUX_VERSION
termux-info
# e.g.
# [...]
# TERMUX_MAIN_PACKAGE_FORMAT=debian
# TERMUX_VERSION=0.118.0
# TERMUX__USER_ID=0
# Packages CPU architecture:
# aarch64
# [...]
# =======================
# make sure `unzip` and `tar` are installed using
pkg install unzip tar
# unzip the artifact (if you have a different architecture this might be arm, i686 or x86_64 instead)
unzip debs-aarch64-*.zip
# untar the artifact
tar xf debs-aarch64-*.tar
# You should now have a debs/ directory in your current working directory
# Install the packages from the local source using
pkg install -- ./debs/*.deb
# to clean up, you can remove the debs/ directory, .tar file and .zip file
rm -rfi debs debs-aarch64-*.zip debs-aarch64-*.tar |
I can confirm that it's working, tested with my JadeAudio JA11 USB DAC
play music, check bitrate via card software, see proper bitrate changes
the hardest part of it would be to get root access, I do not yet know if there is a way to do so rootlessly, I assume that this is the norm for any ALSA usage, though, lmk if I'm wrong |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good, thank you for showing how to use it.
I will merge this in 24 hours from now if nobody has any problem with this. |
when paired with root, should enable bit-perfect playback with ALSA and bypass Android audio stack, useful for people who want that but do not want to / cannot use native android usb handover for e.g UAPP or Neutron Player