Initialize input device if null before starting audio input to prevent crashes when input_unit is not yet initialized.