Comments (3)
same for me dynamic mixer sources are never dropped, the issue may be in UniformSourceIterator.
from rodio.
I've got a minimal failing example:
extern crate rodio;
use std::io::BufReader;
use rodio::Source;
fn main() {
let source = ::rodio::buffer::SamplesBuffer::new(1, 44100, vec![1i16, 2, 3, 4, 5, 6]);
let source = ::rodio::source::ChannelVolume::new(source, vec![0.5, 0.5]);
let source = rodio::source::UniformSourceIterator::<_, i16>::new(source, 2, 44100);
// runs forever
let output = source.collect::<Vec<_>>();
}
if I use some prints I got that ChannelVolume next function returns some, some, some, ..., some, none, some, none, some, none, ...
This behavior probably disturb UniformSourceIterator
from rodio.
I'm not sure but I don't think the doc force sources to always return None after the first None.
depending on that the issue is on channelvolume side or uniformsourceiterator side
from rodio.
Related Issues (20)
- 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
- Release CI and PR CI behave different
- With symphonia m4a seek is inaccurate
- Don't drop source when finished HOT 10
- Cannot use symphonia ReadOnlySource due to no seek support HOT 5
- Specific mp4a codec panics rodio HOT 5
- Should `Decoder` be cached? HOT 4
- Crackly audio on some mp3 files (suspected bug in resampler) HOT 8
- Seek support for flac HOT 5
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.