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

Re-sampling and volume control issues on Android #4

Open
dragonman225 opened this issue Oct 4, 2019 · 0 comments
Open

Re-sampling and volume control issues on Android #4

dragonman225 opened this issue Oct 4, 2019 · 0 comments

Comments

@dragonman225
Copy link
Owner

On Android, all audio data are re-sampled automatically to maximum bit-depth and frequency that the USB soundcard supports, i.e. 24-bit / 96 kHz.

Besides, volume control on Android is done in software, that is, directly applied on audio samples, instead of sending commands to the USB soundcard. This means the maximum volume overall is the default volume hard-coded in the USB soundcard's firmware.

If we want to solve the above issues, one way I found is to set up a chroot environment with full ALSA stack installed, edit ~/.asoundrc to force ALSA use external USB soundcard, and play audio files with mocp.

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

No branches or pull requests

1 participant