preload audio function for iOS devices