Comments (3)
Not a direct solution to your problem, but you can take a look at the music_ogg
example for how to read an OGG file.
from rodio.
I am working on android app. I am using android_glue::load_asset method to load the audio file which returns Result<Vec,Err>. I opened an issue in rust-sdl2's mixer load chunk from bytes array too. Rust-SDL2/rust-sdl2#743. Any solution to load audio in android_glue?
from rodio.
Aha! Your problem is that cpal (the library that rodio uses) is currently not working on Android at all.
from rodio.
Related Issues (20)
- how to port to embed bare mental
- Is there way to add silence to end of source to make it a certain length? HOT 2
- Can not return Sink
- output to mic
- [Ubuntu 23.10] cargo unable to build `error: failed to run custom build command for `alsa-sys v0.3.1`` HOT 3
- (Issue and Proposal) Rodio's features can be confusing
- Volume change of Sink on bare wasm32 not transfered to its currently playing audio HOT 1
- [Question] Play the same sink between functions
- Add a sink.set_speed function that keeps original perceived pitch HOT 2
- Play sound on system output device, even if the system output device changes HOT 1
- Sink stops playing sound when audio output device is disconnected and reconnected. HOT 1
- `nightly` CI tests are failing HOT 1
- Sound cannot be played if OutputStream is unused HOT 2
- Channel converter does not scale to more then 2 channels HOT 5
- Rename Sink::empty HOT 4
- Add comment describing how speed.rs achieves its speedup
- Not all tests are running in CI HOT 2
- CI uses `actions/checkout@v2`, which uses `deprecated` version of `Node.js` HOT 2
- CI has `54 warnings` under `Annotations` HOT 2
- Bug: Tests and Examples error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rodio.