Stops the active playback or capture device. This may fail if:
- The device is not started
- No device was initialized with
stopped = lovr.audio.stop(type)
|type||AudioType||'playback'||The type of device to stop.|
|stopped||boolean||Whether the device was successfully stopped.|
Switching devices with
lovr.audio.setDevice will stop the existing one.