Replies: 1 comment
|
I don't think Java itself is the main limitation here. If Termux can access the USB audio device through Android (usually via the USB Host API), then it may be possible for a Java application to capture audio from it. However, standard Java running in Termux doesn't have direct access to Android's USB APIs. You would likely need an Android app or a bridge (such as the Termux API or a custom plugin) to handle the USB device and expose the audio stream to your Java code. So in short: it's theoretically possible, but not directly through plain Java in Termux alone. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is it possible to grab a USB sound card to capture audio using Java through/via Termux?
Sincerely,
John
All reactions