Fix swap samples decoder
Fix swap_samples method
Fix specs