Skip to content

Conversation

@Wandalen
Copy link
Contributor

@Wandalen Wandalen commented Nov 2, 2021

Sample-based generation of sound.

It is refactored version of the example beep. I bubbled up a callback to generate a sample. Also, I replaced unwrap with proper handling of errors. That does not add complexity because anyhow and ? are already in use. That's the first step I would like it was done for me to start playing with cpal and integrating it into my projects.

Hopefully, it will be useful for not only me.

#613

@Wandalen
Copy link
Contributor Author

Wandalen commented Nov 2, 2021

Please let me know if any adjustments are required.

@Wandalen
Copy link
Contributor Author

@est31 sure! done. anything else?

Copy link
Member

@est31 est31 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@est31 est31 merged commit 33094e8 into RustAudio:master Jan 14, 2022
@Wandalen
Copy link
Contributor Author

;)

@est31
Copy link
Member

est31 commented Jan 14, 2022

Sorry for the long delay, I think I've enabled CI on it and then lost track of the PR. It's a bit annoying that it doesn't ping you after CI is finished.

@Wandalen
Copy link
Contributor Author

Thanks for good open source)

@Ralith
Copy link
Contributor

Ralith commented Jan 14, 2022

If you set CI as required in branch prediction, you can enable automerge on CI green, which is pretty handy in these cases.

zmerp pushed a commit to zmerp/cpal that referenced this pull request May 29, 2022
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.

3 participants