Lines Matching refs:SDL_assert

153     SDL_assert(SRC_lib == NULL);  in LoadLibSampleRate()
220 SDL_assert(current_audio.impl.OnlyHasDefaultOutputDevice); in SDL_AudioDetectDevices_Default()
221SDL_assert(current_audio.impl.OnlyHasDefaultCaptureDevice || !current_audio.impl.HasCaptureSupport… in SDL_AudioDetectDevices_Default()
384 SDL_assert(handle != NULL); /* we reserve NULL, audio backends can't use it. */ in add_audio_device()
385 SDL_assert(name != NULL); in add_audio_device()
439 SDL_assert(current_audio.impl.HasCaptureSupport); in add_capture_device()
491 SDL_assert(get_audio_device(device->id) == device); in SDL_OpenedAudioDeviceDisconnected()
522 SDL_assert(handle != NULL); in mark_device_removed()
570 SDL_assert(device != NULL); /* this shouldn't ever happen, right?! */ in SDL_BufferQueueDrainCallback()
571 SDL_assert(!device->iscapture); /* this shouldn't ever happen, right?! */ in SDL_BufferQueueDrainCallback()
572 SDL_assert(len >= 0); /* this shouldn't ever happen, right?! */ in SDL_BufferQueueDrainCallback()
579 SDL_assert(SDL_CountDataQueue(device->buffer_queue) == 0); in SDL_BufferQueueDrainCallback()
590 SDL_assert(device != NULL); /* this shouldn't ever happen, right?! */ in SDL_BufferQueueFillCallback()
591 SDL_assert(device->iscapture); /* this shouldn't ever happen, right?! */ in SDL_BufferQueueFillCallback()
592 SDL_assert(len >= 0); /* this shouldn't ever happen, right?! */ in SDL_BufferQueueFillCallback()
693 SDL_assert(!device->iscapture); in SDL_RunAudio()
717 SDL_assert(data_len == device->spec.size); in SDL_RunAudio()
751 SDL_assert((got < 0) || (got == device->spec.size)); in SDL_RunAudio()
798 SDL_assert(device->iscapture); in SDL_CaptureAudio()
836 SDL_assert(data != NULL); in SDL_CaptureAudio()
849 SDL_assert(rc <= still_need); /* device should not overflow buffer. :) */ in SDL_CaptureAudio()
871 SDL_assert((got < 0) || (got == device->callbackspec.size)); in SDL_CaptureAudio()
1096 SDL_assert(item != NULL); in SDL_GetAudioDeviceName()
1098 SDL_assert(item != NULL); in SDL_GetAudioDeviceName()
1139 SDL_assert((opendev == device) || (opendev == NULL)); in close_audio_device()
1359 SDL_assert(device->hidden != NULL); in open_audio_device()
1430 SDL_assert(device->work_buffer_len > 0); in open_audio_device()
1495 SDL_assert((id == 0) || (id == 1)); in SDL_OpenAudio()