Code to acquire/release sound permissions. Doesn't work yet.