Don't modify the device struct until playback succesfully starts