An electronic device can include a housing at least partially defining an internal volume and an aperture in communication with the internal volume and an ambient environment. A speaker module can be positioned at the aperture and sealed to the housing to define a liquid barrier. The speaker module can include a metallic support member partially defining the internal volume and a flat mounting surface, a magnet affixed to the flat surface, a speaker module enclosure affixed to the metallic support member, and a diaphragm carried by the speaker module enclosure and positioned opposite the magnet.