Esempio n. 1
0
        private static void Main(string[] args)
        {
            Console.Out.WriteLine("This is an AudioBroadcastr to capture 'whatUhear' audio");
              Console.Out.WriteLine("(C) Eugene Petrenko 2013");
              Console.Out.WriteLine("");

              var http = new Http();
              var sound = new SoundCapture(http);

              http.Start();
              sound.Start();

              new UPNP(http).DetectAndStart();

              Console.Out.WriteLine();
              Console.Out.WriteLine("Press any key to exit");
              Console.Read();

              sound.Stop();
              http.Stop();
        }
Esempio n. 2
0
 public SoundCapture(Http http)
 {
     myHttp = http;
       myHttp.NewClientProxy = sw => new LameMP3FileWriter(sw, myCapture.WaveFormat.Resolve(), LAMEPreset.EXTREME_FAST);
 }
Esempio n. 3
0
 public UPNP(Http mp3)
 {
     myMP3 = mp3;
 }