1

I know there is a duplicate question right here, but it's obsolete, so does javafx support audio capture.

Does it have any audio capturing API or interfaces, i know of AudioClip in javafx.scene.media. but it's only for playback.

4

1 回答 1

3

No, JavaFX 8 does not have an audio capture API.

There is an existing feature request (currently scheduled for implementation in Java 9):

For now, you can use the existing javax.sound API (which will probably work just fine from a JavaFX application), as suggested in Robin Jonsson's coment.

于 2015-02-13T00:50:17.110 回答