mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #458] Android audio backend #291
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#291
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @provokateurin on GitHub (Apr 10, 2020).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/458
I'm new to rust and this project, so please correct my mistakes:
I want to use librespot on Android and was already able to include it in my app and start playing, but it crashes while playing. My expectation was that it would crash, because there is no audio backend implementation for Android.
Is that right?
If so I would like to make a request for an Android audio backend.
I don't know what the requirements for a library that would work are, but figured out there is a library called
oboewhich is and Android audio library. Would that work?As I need to learn Rust for my project (at least a bit) I might come up with a solution on my own (and will try to upstream it), but I wanted you to know that there is a need for an Android audio backend.
(I hope I haven't said anything really dumb.)
Thanks in advance and thank you all for such a great project! I really appreciate your effort.
EDIT: I also found this library which seems much more suited: https://github.com/AmpMe/opensles-sys
@mr-berndt commented on GitHub (Jun 8, 2020):
From what I understand developers are on the long run actually trying to drop all audio outputs exept rodio. You might investigate if rodio works under android.
I got this from here:
https://github.com/librespot-org/librespot/issues/195
@Pajn commented on GitHub (Oct 29, 2020):
rodio is using cpal, which seems to have recently gotten support for Android https://github.com/RustAudio/cpal/pull/468
@provokateurin commented on GitHub (Oct 29, 2020):
Oh nice