Thursday, March 30, 2006

Java: Capture Using Specified Audio Device

The original tutorial is here

At the end of the tutorial, it give the source code that can capture audio using a specified device. You can do similar thing to change the output device.

      //Get and display a list of
// available mixers.
Mixer.Info[] mixerInfo =
AudioSystem.getMixerInfo();
System.out.println("Available mixers:");
for(int cnt = 0; cnt < mixerInfo.length;
cnt++){
System.out.println(mixerInfo[cnt].
getName());
}//end for loop



//Select one of the available
// mixers.
Mixer mixer = AudioSystem.
getMixer(mixerInfo[3]);





2 Comments:

At February 19, 2007 11:36 AM, Anonymous Anonymous said...

Things are looking up, he says. PGA Tour As Daly was making his debut at the Buick, he learned his fourth wife, Sherrie, had reported to a Kentucky prison to serve a five-month sentence after pleading guilty to charges involving an illegal gambling and drug operation. You have to be very cautious, he said. Coincidentally, USA Today just ran a story The Golf Blog covered today: square drivers.

 
At March 04, 2007 11:26 AM, Anonymous Anonymous said...

toll free call




Hi, great blog by the way - didn't think you'd mind me posting this anonymously - as you do allow anonymous posts ;-).

Anyone tried this Skype program yet for free telephone calls over the internet? A guy at work uses it all the time and because he signed all his friends and relatives up he saves a fortune on his calls. Might be worth a go.

Good luck with the blog






.

 

Post a Comment

<< Home