Explorar o código

audio: Removed debug logging.

Ryan C. Gordon %!s(int64=2) %!d(string=hai) anos
pai
achega
2be5f726d4
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/audio/SDL_audio.c

+ 0 - 1
src/audio/SDL_audio.c

@@ -307,7 +307,6 @@ static void DisconnectLogicalAudioDevice(SDL_LogicalAudioDevice *logdev)
     if (SDL_EventEnabled(SDL_EVENT_AUDIO_DEVICE_REMOVED)) {
     if (SDL_EventEnabled(SDL_EVENT_AUDIO_DEVICE_REMOVED)) {
         SDL_Event event;
         SDL_Event event;
         SDL_zero(event);
         SDL_zero(event);
-SDL_Log("Sending event about loss of logical device #%u", (unsigned int) logdev->instance_id);
         event.type = SDL_EVENT_AUDIO_DEVICE_REMOVED;
         event.type = SDL_EVENT_AUDIO_DEVICE_REMOVED;
         event.common.timestamp = 0;
         event.common.timestamp = 0;
         event.adevice.which = logdev->instance_id;
         event.adevice.which = logdev->instance_id;