Inform the processing loop when we finish input
Fix for short audio files