The Orlando Magic and Channing Frye have agreed upon a four-year, $32 million deal.

Frye sat out the entire 12-13 NBA season, but played in all 82 games last season with the Phoenix Suns and shot 37 percent on 432 three-point attempts.

Frye turned 31 in May.