A judge ruled yesterday that CASEY KASEM'S daughter KERRI could end life support measures, so she did.  Casey is in hospice now, and TMZ says they're playing old recordings of "American Top 40" for him.


The judge said that keeping Casey alive by continuing to give him food, water and medication was likely causing him more pain than it was worth.  Casey is 82, and suffers from severe dementia and symptoms similar to Parkinson's disease.


Casey's kids say he left the following health directive . . . quote, "If the extension of my life would result in mere biological existence, devoid of cognitive function, with no reasonable hope for normal functioning, then I do not desire any form of life-sustaining procedures, including nutrition and hydration."


Not surprisingly, Casey's wife JEAN is NOT happy with this.  She came out of court saying Kerri, the judge and others now have Casey's BLOOD ON THEIR HANDS.  (Here's video.)


Jean claims she and Liberty, the daughter she had with Casey, have NOT been allowed to see him.  But the rest of the family says they WANT Jean and Liberty to join them at Casey's bedside.