Searched refs:still_need (Results 1 – 1 of 1) sorted by relevance
817 int still_need; in SDL_CaptureAudio() local832 still_need = data_len; in SDL_CaptureAudio()847 while (still_need > 0) { in SDL_CaptureAudio()848 const int rc = current_audio.impl.CaptureFromDevice(device, ptr, still_need); in SDL_CaptureAudio()849 SDL_assert(rc <= still_need); /* device should not overflow buffer. :) */ in SDL_CaptureAudio()851 still_need -= rc; in SDL_CaptureAudio()860 if (still_need > 0) { in SDL_CaptureAudio()862 SDL_memset(ptr, silence, still_need); in SDL_CaptureAudio()
Completed in 4 milliseconds