does javafx has built in audio capture?

2019-08-05 08:52发布

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.

1条回答
一夜七次
2楼-- · 2019-08-05 09:35

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.

查看更多
登录 后发表回答