arecord -f cd -t raw | oggenc - -r | ssh <user>@<remotehost> 'cat - | mplayer -'
If needed change ALSA recorder to any other mic recorder, and just redirect its output to the encoder.
And here is how to forward playing of local audio file to remote machine (cache setting enables mplayer to accumulate the stream, otherwise it fails when too much data comes at once):
cat <audiofile> | ssh <user>@<remotehost> 'cat - | mplayer -cache 8192 -'
Have fun with your audio.