ISpeechAudioFormat constructor

ISpeechAudioFormat(
  1. VTablePointer ptr
)

Creates a new instance of ISpeechAudioFormat from a VTablePointer.

This constructor requires a valid pointer to the ISpeechAudioFormat interface. The ptr must not be nullptr; otherwise, an assertion error is thrown.

Implementation

ISpeechAudioFormat(super.ptr)
  : _vtable = ptr.value.cast<ISpeechAudioFormatVtbl>().ref;