channels property

int get channels

Implementation

int get channels {
  final channels = adaptiveCalloc<Int16>();
  final hr$ = HRESULT(_get_ChannelsFn(ptr, channels));
  if (hr$.isError) {
    free(channels);
    throw WindowsException(hr$);
  }
  final result$ = channels.value;
  free(channels);
  return result$;
}
set channels (int channels)

Implementation

set channels(int channels) {
  final hr$ = HRESULT(_put_ChannelsFn(ptr, channels));
  if (hr$.isError) throw WindowsException(hr$);
}