Skip to content
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

update AudioSample #92

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

update AudioSample #92

wants to merge 1 commit into from

Conversation

trackme518
Copy link

@trackme518 trackme518 commented Dec 8, 2023

Allow reference of new instance of AudioSample so we can call .amp() function on it.
385537290_1713129859097902_6896483319543280360_n
405592024_1154903345470799_7816452084975749997_n

Allow reference of new instance of AudioSample so we can call .amp() function on it.
@kevinstadler
Copy link
Collaborator

Hello,

thanks for the pull requests! As you probably saw this is some old code where I could never make up my mind about how to return from the method... I'm happy to merge your changes, only I don't think the code currently compiles because the return type of play() will need to be changed from void to AudioSample?

By the way there is a whole audiosample-playmodes branch which adds the option to control what happens when calling play() on a sample that is already playing, if this would be interesting for you I will try to get it merged soon...

Best!

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.

2 participants