It appears there's some strange transition between the "outside" and "inside" sound behaviour.
The weapon sounds are great when shooting outside or inside buildings, but when standing in the doorway areas, the sound gets muffled a lot.
Tested in at least 5 random buildings in Montignac, couple of videos below: