lass="modifiers">public</span>&nbsp;<span class="element-name">Wave</span><wbr><span class="parameters">(int&nbsp;frameCount,
 int&nbsp;sampleRate,
 int&nbsp;sampleSize,
 int&nbsp;channels,
 <a href="https://docs.oracle.com/en/java/javase/22/docs/api/java.base/java/lang/foreign/MemorySegment.html" title="class or interface in java.lang.foreign" class="external-link">MemorySegment</a>&nbsp;data)</span></div>
<div class="block">Construct with auto memory allocator and fields initialized as specified</div>
<dl