Browse Source

Added trace on audio device closing

raysan5 9 years ago
parent
commit
306945fe14
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/audio.c

+ 2 - 0
src/audio.c

@@ -183,6 +183,8 @@ void CloseAudioDevice(void)
     alcMakeContextCurrent(NULL);
     alcMakeContextCurrent(NULL);
     alcDestroyContext(context);
     alcDestroyContext(context);
     alcCloseDevice(device);
     alcCloseDevice(device);
+    
+    TraceLog(INFO, "Audio device closed successfully");
 }
 }
 
 
 // Check if device has been initialized successfully
 // Check if device has been initialized successfully