the stink of the ship forewarned them of its approach while still outside the headland and as it came closer , the wailing of the slaves shackled below carried on the wind like the howl of whipped dogs .