是否有等效的 Java Sound API? [英] Is there an equivalent of the Java Sound API?

查看:58
本文介绍了是否有等效的 Java Sound API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Scala 中是否有 Java Sound API 的等价物来播放声音,还是我应该使用 Java 的?

Is there an equivalent in Scala of the Java Sound API, to play sounds, or should I use the Java one??

推荐答案

我会去使用 Java Sound Api.在撰写本文时(2011 年 10 月),替代方案还不够成熟.

I'd go and use the Java Sound Api. At the time of writing this (October 2011) alternatives aren't mature enough.

当与来自 scala 的现有 Java Api 交互时,您会发现 JavaConversions 非常有用.

When interacting with an existing Java Api from scala, you'll find JavaConversions pretty useful.

祝你好运!

这篇关于是否有等效的 Java Sound API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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