This add support to play shoutcast streaming audio for
mpg321. I try to brake as little as possible.
I need to modify :
if (current_frame > playbuf->num_frames)
because when we play (socket) stream
$playbuf->num_frames isn't calculate.
Shoutcast from Nullsoft recognize some User Agent and
display a html page, not the audio stream. With lynx a
need to use:
lynx -useragent="foobar" http://localhost:8000/ -source
It seems that mpg321 can't play sound if it isn't a
file. Try to play a mp3 other a http regular file.