Java sound without a hardware device

Does anyone know if it is possible to write an application that uses the Java Sound API on a system that does not actually have a hardware sound device?

I have some code that I wrote based on an API that manipulates some sound and reproduces the result, but now I am trying to run it in a server environment where the audio will be written to a file and not played in line from.

There is no sound card on the server I'm running on, and I seem to run into obstacles when Java Sound cannot highlight any lines if there is no Mixer supporting it. (And without hardware devices, I have no mixers.)

Any information would be greatly appreciated -

thank.

+3
source share
2 answers

linux OSS Virtual Mixer, .

, , Virtual Audio Cable, , , , .

, , Java , .

-Adam

+1

java - . JVM , JVM - OS, ( , ).

+1

Source: https://habr.com/ru/post/1697405/


All Articles