setApplicationMuteState method

int setApplicationMuteState(
  1. bool mute
)
override

Muting the current process in the volume mixer (for Windows)

  • Parameters:
    • volume(int)

Implementation

int setApplicationMuteState(bool mute) {
  if (_only_support_windows) {
    return _deviceFFIBindings.set_application_mute_state(_nativePointer, mute);
  } else {
    debugPrint("device-manager-api not support");
    return -1;
  }
}