Open einarpersson opened 8 months ago
Hey @einarpersson I am looking for the same thing, currently I am working within a flutter project and using the flutter rust bridge which worked perfectly until I tried to use cpal for audio.
I am having the same issue as you. I tried looking at other projects which have used cpal and audio on android.
https://github.com/tGrothmannFluffy/flutter_rust_bridge_template_cpal/tree/main https://github.com/yamadapc/augmented-audio/tree/master/crates/apps/metronome
Let me now if you made any progress.
unfortunately no. Have you made any progress?
Hi, I am new here. I am trying to follow the basic example of just listing output devices on Android, but the app just crashes.
I get for example
and also
Anyway, I am trying to find any information on just getting the setup right for Android. Just following the docs in its current state is not enough since it seems that there are other things that has to be done. In the README i see a lot about Windows. Perhaps a similar section on Android? I understand that the android ecosystem is complex, but at least gather some basic info would be valuable to a newcomer.
thanks!
Edit: Note, I am not really posting this issue about the logs above. Perhaps these parts of the log are not even relevant to the error i am having. The issue / request is just some basic info on how to get started on android, regardless of the source of my error. :)
To be even more specific - How should the Cargo.toml typically look like? Do I have to add any other dependencies or configurations to get this to work?
Also: Can this be expected to work on an android emulator?