clintbellanger/flare — pull request #786 by stefanbeller (2012-08-14 19:44:48+00:00)
Title: Do not load sound and music, if respective volume is zero.

Closes #780.

Tested and works without errors nor warnings.

By the way:
SDL is a rather friendly library as it will not crash if handing over the wrong parameters.
If there is some code like this:
```
Mix_Chunk *sound = NULL;
channel = Mix_PlayChannel(-1, sound, 0);
if(channel == -1) {
printf("Unable to play WAV file: %s\n", Mix_GetError());
}
```
the result is just:
```
Unable to play WAV file: Tried to play a NULL chunk
```