[Add] Some verbosity.

This commit is contained in:
Allanis 2013-08-24 08:19:12 +01:00
parent 932a9e6bc3
commit f96ece85f8

View File

@ -47,7 +47,7 @@ int sound_init(void) {
SDL_InitSubSystem(SDL_INIT_AUDIO);
if(Mix_OpenAudio(44100, MIX_DEFAULT_FORMAT, 2, 1024) < 0) {
WARN("SDL_Mixer: %s", Mix_GetError());
WARN("Opening Audio: %s", Mix_GetError());
return -1;
}
@ -232,7 +232,7 @@ static Mix_Chunk* sound_load(char* filename) {
buffer = Mix_LoadWAV_RW(rw, 1);
if(buffer == NULL)
DEBUG("SDL_Mixer: %s", Mix_GetError());
DEBUG("Unable to load sound '%s' : %s", filename, Mix_GetError());
/* Finish up. */
free(wavdata);