title: Stream Java audio to an icecast/shoutcast server? Pipes and stdin?
body: <p>I'm using a java music library called JavaMod.  I want to stream the output of the java audio system to a shoutcast server.</p>
  
  <p>"ezstream" is a command line tool that accept stdin and encode/stream it to an icecast/shoutcast server, but I'm not sure how to hook ezstream into the java audio system.</p>
  
  <p>How do I 'register' the stdin of "ezstream" as a Java audio device so that a sample stream written to java's AudioSystem.sourceDataLine is directed to ezstream's stdin?</p>