-
Notifications
You must be signed in to change notification settings - Fork 24
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
Rewind the IO object #32
Comments
@alxx Unfortunately, there's currently no way to rewind a I’ve been planning to add something like a I’ll take a look and see in more detail what would be involved in adding that functionality. |
Well, first my solution has been to create new
Then I noticed that the Thanks for looking into this! :) |
Oh interesting! I’ve never tried using the gem for real-time stuff, so unfortunately I don’t have any particular insights to add about that. How did you determine garbage collection was causing the hiccups? It makes sense why it would, but interested to know how to recreate. How are you sending the samples to PortAudio? If garbage collection is a blocker, it sounds like a |
I'm not sure it was the GC itself, actually the GC is operating out-of-band as far as I know, so it's not a likely culprit (though I may be wrong). I use Man, streaming is really not easy... |
How can I rewind the Reader so that I can go back and read the first buffer? I'm trying to loop a wave file but currently the only way is to recreate the Reader object once I get to the end of the samples, which is expensive.
The text was updated successfully, but these errors were encountered: