 
         if Bool(boolean: AudioObjectHasProperty(deviceID, &address)) {
             var canMuteBoolean = Boolean(0)
-            status = AudioObjectIsPropertySettable(deviceID, &address, &canMuteBoolean)
+            var status = AudioObjectIsPropertySettable(deviceID, &address, &canMuteBoolean)
 
             if noErr == status {
                 volumeInfo.canMute = Bool(boolean: canMuteBoolean)

        )

        var volumeInfo = AMCoreAudioVolumeInfo()
        var status: OSStatus

        if Bool(boolean: AudioObjectHasProperty(deviceID, &address)) {
            var canSetVolumeBoolean = Boolean(0)
            status = AudioObjectIsPropertySettable(deviceID, &address, &canSetVolumeBoolean)

            if noErr == status {
                volumeInfo.canSetVolume = Bool(boolean: canSetVolumeBoolean)

                status = getPropertyData(address, andValue: &isMutedValue)

                if noErr == status {
                    volumeInfo.isMuted = Bool(boolean: Boolean(isMutedValue))
                }
            }
        }
