AC compressor bad? on 2008 Pontiac G8

I just noticed that my AC isnt blowing cold anymore, and I hear an audible hiss coming through the vents and a slight burning smell that wasnt there before. Hiss and smell only occur when AC is on, no noise or smell otherwise. Also how much would the repair cost. Thank you.

Asked by for the 2008 Pontiac G8