Open OniLink opened 6 years ago
It may be that the audio line is never closed.
Uncommenting those lines and recompiling gives the same warning, still no audio.
The error vanished when I changed desktop/.../audio/AudioDevice.java's line.open(af, 4096) line to line.open(af). Still have no sound playing, but the audio line DOES get created now. Now I just need to modify the lines for playing audio and it'll be good on my end.
Update: Nope. Tried a few things, can't get audio playing correctly. At best, I hear a small snippet of audio well after when it's supposed to play. I can confirm though that the client is receiving the proper samples when it's supposed to.
I'm getting the listed warning whenever I start the client. No audio ends up being played. How would I go about fixing this? I'm using Arch Linux on a desktop.
EDIT: Modified the source of the client to make it output more detailed errors, and I got "line with format PCM_SIGNED 48000.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported" as the error Java is throwing. Which makes no sense to me, because 48kHz 16-bit LE stereo is definitely supported on my system - it's what I've been using.