Macbook pro 13 mi-2012 – No click on increase or decrease in volume nor on clicks

My macbook suddenly stopped producing these clicks and the volume button does not do that well. My speakers are fine. I have recently upgraded my RAM. What could be the problem?