setApplicationPlayVolume method
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;
}
}