Skip to content

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
dajeduner 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.

3 participants