setApplicationPlayVolume method

int setApplicationPlayVolume(
  1. int volume
)
override

Setting the volume of the current process in the volume mixer (for Windows)

  • Parameters:
    • volume(int)

Implementation

int setApplicationPlayVolume(int volume) {
  if (_only_support_windows) {
    return _deviceFFIBindings.set_application_play_volume(_nativePointer, volume);
  } else {
    debugPrint("device-manager-api not support");
    return -1;
  }
}