adina_m 0 Newbie Poster

Hi! I read the jmf tutorial for how to capture an audio. I tried to run there code in netbeans but it din't work . This vector:

Vector deviceList = CaptureDeviceManager.getDeviceList(new
AudioFormat(AudioFormat.LINEAR, 44100, 16, 2));

was null. This means that it didn't find a device to record with?

I used JMf Studio to record an audio file with the same parameters : Linear, 44100, 16,2 an it worked.

I am runing the programe on a laptop that has a built in mike

Thank you for your patience to answer my question!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.