drc-sim-client icon indicating copy to clipboard operation
drc-sim-client copied to clipboard

"Audio format not supported by system." warning

Open OniLink opened this issue 7 years ago • 3 comments

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.

OniLink avatar Apr 19 '18 23:04 OniLink

It may be that the audio line is never closed.

opencma avatar Apr 20 '18 07:04 opencma

Uncommenting those lines and recompiling gives the same warning, still no audio.

OniLink avatar Apr 20 '18 21:04 OniLink

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.

OniLink avatar Sep 09 '18 17:09 OniLink