将声音输出到声卡的多个声道 [英] Output sound to multiple channels of the sound card

查看:326
本文介绍了将声音输出到声卡的多个声道的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试用Java构建一个程序,它可以将声音输出到声卡上的不同输出行。

I am trying to build a program in Java, which would be able to output sound to different output lines on my sound card.

如何用Java做?

推荐答案

您可以使用 Jack ( Jack Audio Connection Kit)将声音传送到声卡。它有点复杂,它不适用于pulseaudio,但你可以使它工作。

You can use Jack (Jack Audio Connection Kit) to route sound to your soundcard. It is a little complicated, it doesn't work with pulseaudio, but you can make it work.

JnaJack 提供了从Java到通过JNA的Jack API。这真的很容易。

JnaJack provides an interface from Java to the Jack API via JNA. It's really quite easy.

我更详细地写了此处

这篇关于将声音输出到声卡的多个声道的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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