summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/openal
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-05-20 06:20:49 +0200
committerSven Gothel <[email protected]>2023-05-20 06:20:49 +0200
commitcac165073439beac80088a8b1aacbb53cf7c321d (patch)
tree8ad7efc9688275dcc40b003f1589029bdb42f9a3 /src/java/com/jogamp/openal
parent4610f9a65a0527d5a03614a052a72373d2315a7d (diff)
ALAudioSink.toString(): Allow null==chosenFormat (pre init string representation)
Diffstat (limited to 'src/java/com/jogamp/openal')
-rw-r--r--src/java/com/jogamp/openal/util/ALAudioSink.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/jogamp/openal/util/ALAudioSink.java b/src/java/com/jogamp/openal/util/ALAudioSink.java
index b2889b3..a01c5d0 100644
--- a/src/java/com/jogamp/openal/util/ALAudioSink.java
+++ b/src/java/com/jogamp/openal/util/ALAudioSink.java
@@ -480,7 +480,7 @@ public class ALAudioSink implements AudioSink {
return String.format("ALAudioSink[avail %b, playReq %b, device '%s', ctx 0x%x, alSource %d"+
", chosen %s, al[chan %s, type %s, fmt 0x%x, tlc %b, soft %b, latency %.2f/%.2f ms, sources %d]"+
", playSpeed %.2f, buffers[total %d, avail %d, queued[%d, apts %d, %d ms, %d bytes], queue[g %d, l %d]",
- available, playRequested, deviceSpecifier, ctxHash, alSource, chosenFormat.toString(),
+ available, playRequested, deviceSpecifier, ctxHash, alSource, chosenFormat,
ALHelpers.alChannelLayoutName(alChannelLayout), ALHelpers.alSampleTypeName(alSampleType),
alFormat, hasALC_thread_local_context, hasSOFTBufferSamples,
1000f*latency, 1000f*defaultLatency, sourceCount, playSpeed, alBuffersLen, alFramesAvailSize,