There is provided a compound of formula I,
wherein R1, R2, R9, R10, R11, R12, X, A and B have meanings given in the description, which are useful in the prophylaxis and in the treatment of arrhythmias, in particular atrial and ventricular arrhythmias.