hotkeys: use aout_DeviceSet() directly
Using var_Set("device") is wrong: the "device" variable holds the currently used output device (as set by the aout plugin), not the intended output device (as requested through the user interface). Also fix a memory leak.
Showing
Please register or sign in to comment