mpv_set_property_string method

int mpv_set_property_string(
  1. Pointer<mpv_handle> ctx,
  2. Pointer<Int8> name,
  3. Pointer<Int8> data
)

Convenience function to set a property to a string value.

This is like calling mpv_set_property() with MPV_FORMAT_STRING.

Implementation

int mpv_set_property_string(
  ffi.Pointer<mpv_handle> ctx,
  ffi.Pointer<ffi.Int8> name,
  ffi.Pointer<ffi.Int8> data,
) {
  return _mpv_set_property_string(
    ctx,
    name,
    data,
  );
}