Navigation Menu

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

Fixed "Error in class 'SourceJava Sound': Channel null in method 'stop'" #663

Merged
merged 1 commit into from Mar 2, 2012

Conversation

Stuessy
Copy link
Contributor

@Stuessy Stuessy commented Mar 2, 2012

I finally got rid of that annoying message:

Error in class 'SourceJava Sound'
    Channel null in method 'stop'

It happened because 'channel' was null in paulscode.sound.Source. I don't know why and neither do I know if this is a problem or not, but my solution seems to work. I don't use stop() anymore but cull(). According to the API it stops and flushes the sound source. It then needs to be reactivated before playback. By now I don't see any negative side effects.

@mkalam-alami
Copy link
Collaborator

In this case, I guess the best way to see if there are downsides is to wait & see. Merging, thanks

mkalam-alami pushed a commit that referenced this pull request Mar 2, 2012
Fixed "Error in class 'SourceJava Sound': Channel null in method 'stop'"
@mkalam-alami mkalam-alami merged commit 68bc4df into Maescool:master Mar 2, 2012
danielduner added a commit that referenced this pull request Mar 3, 2012
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.

None yet

3 participants