sound problem with phmame

I have downloaded phmame, everything works fine exept the sound. It displays
a warning “no mixer” how can I add a mixer to phmame so that I can hear
sounds from the games I play?

There is no prblem with my sound card since I can play music files using
phplay. Also the game has sound according to the website I downloaded it