Yup, have the same problem, I think it was after some heavy bt headset use. Clean install, install cm9 - no go. Just after a few clean reinstalls different roms, speaker start working again. Now @ .22 all works fine. But I don't use bt headset anymore... Weird glitch indeed.
there is hope...