I believe this was the case in the Mediterranean, but what about other parts of the world?
Check out these previous answers by /u/jschooltiger and /u/EyeStache:
How was naval warfare fought before the invention of cannons?
How would a naval battle have taken place before cannons?