Jason Griffith, for the stretch of the franchise that covers Sonic X and the games from Shadow the Hedgehog through Sonic and the Secret Rings and Unleashed.
He is one of several actors to hold the role rather than the definitive one. Ryan Drummond voiced Sonic across the late nineties and early 2000s, Griffith took over from 2003, and Roger Craig Smith has held it since 2010.
So if you are watching the cartoon, Griffith is your answer. If you are playing a current title, it is Smith.