coreaudio_device: fix overwriting of user input

Fixes #1030