ructor-name even-row-color"><code><a href="#%3Cinit%3E(java.lang.foreign.SegmentAllocator,int,int,int,int,java.lang.foreign.MemorySegment)" class="member-name-link">Wave</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/22/docs/api/java.base/java/lang/foreign/SegmentAllocator.html" title="class or interface in java.lang.foreign" class="external-link">SegmentAllocator</a>&nbsp;arena,
 int&nbsp;frameCount,
 int&nbsp;sampleRate,
 int&nbsp;sampleSize,
 int&nbsp;channels,
 <a href="https://docs.oracle.com