Skip to content

WebSocket error: line with format PCM_SIGNED 24000.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported #214

@Juneezee

Description

@Juneezee

Describe the bug
I am not sure if this is a bug with Robocode Tank Royale, or it is a JVM/Linux issue.

To Reproduce
Steps to reproduce the behavior:

  1. Download the portable JAR file https://github.com/robocode-dev/tank-royale/releases/download/v1.0.1/robocode-tankroyale-gui-1.0.1.jar
  2. Download the Java bots https://github.com/robocode-dev/tank-royale/releases/download/v1.0.1/sample-bots-java-1.0.1.zip. Extract to bots directory.
  3. Download the sounds effect https://github.com/robocode-dev/sounds/releases/download/v1.0.0/sounds.zip. Extract to sounds directory.
  4. Start a battle with 2 random bots
  5. The server crashes when a sound effect is about to play

Error info

WebSocket error: line with format PCM_SIGNED 24000.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.

Only this error is shown. No stack traces.

Expected behavior
Sound effects plays and does not crash the server.

Screenshots

2026-05-13.00-07-51.mp4

Desktop (please complete the following information):

  • OS name and version: Arch Linux (Linux 7.0.5)

Hope these information below is also helpful:

$ pactl info | grep "Server Name"
Server Name: pulseaudio
$ pacmd list-sinks | grep -e "name:" -e "sample spec"
	name: <alsa_output.pci-0000_06_00.6.analog-stereo>
	sample spec: s16le 2ch 44100Hz

Let me know if you need more information about my system.

Java info:

  • Version: 25.0.3
  • Vendor: Eclipse Temurin
openjdk 25.0.3 2026-04-21 LTS
OpenJDK Runtime Environment Temurin-25.0.3+9 (build 25.0.3+9-LTS)
OpenJDK 64-Bit Server VM Temurin-25.0.3+9 (build 25.0.3+9-LTS, mixed mode, sharing)

Additional context

Related:

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions