Yeah , what Rene and Wash said. I would like to add that brakes are designed to reduce recoil and muzzle rise , the side effect is increased noise in the direction of the vents.
You may want to look at comps with small ports !
I have the linear comp in your first pic on a AR Pistol, its is loud if you are not behind the gun.
I have the second also but don't use it. , not effective. JMHO.
Mike