In order for a headphone to survive in a swimming pool and the water pressure under the water, it needs to have a minimum rating of IPX7 on the IPX rating scale. You can easily get IPX7or IPX8 rated headphones on various e-commerce sites.