Commercial waterfowl hunters used to mount things like that to the front of their boats and shoot flocks of waterfowl on the water. They called them punt guns.
As Ghost mentioned, these were used for commercial duck hunting back in the day. This is a great book about it if anyone is looking for some reading material.