If the sound you heard was like a barking dog, then it was the hydraulic Power Transfer Unit (PTU). When one engine is running and the other not, the opposite hydraulic system is pressurised via the PTU which is very audible in the cabin, particularly 2/3 of the way back. Google "Airbus PTU" to find out more.