javafx内置音频捕获功能吗? [英] does javafx has built in audio capture?

查看:304
本文介绍了javafx内置音频捕获功能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这里有一个重复的问题,但它是<强>过时, javafx 支持音频捕获。

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

是否有任何音频捕获API或接口,我知道在 javafx.scene.media 中的 AudioClip 。但它仅用于播放。

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

推荐答案

不,JavaFX 8没有音频捕获API。

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

现有功能请求(目前计划在Java 9中实施):

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

  • JDK-8090438 Camera and Microphone

目前,您可以使用现有的 javax.sound API (可能在JavaFX应用程序中运行得很好),正如Robin Jonsson的评论所示。

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.

这篇关于javafx内置音频捕获功能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆