Fix some nullptr dereferences in Audio

Fixes #859