Skip to content

Add a len field to track the size of the window.#199

Open
silvestrpredko wants to merge 1 commit intoRustAudio:masterfrom
silvestrpredko:silvestr/limit-window-iterator
Open

Add a len field to track the size of the window.#199
silvestrpredko wants to merge 1 commit intoRustAudio:masterfrom
silvestrpredko:silvestr/limit-window-iterator

Conversation

@silvestrpredko
Copy link
Copy Markdown

Currently, the iterator of the window produces samples indefinitely. This is not intuitive at first glance. Also, if I just want to work with samples in a plain for each, I need to remember to call take a fixed number of samples first; otherwise, it will loop indefinitely.

…ite item production in the window iterator.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant