WADR, They are NOT ONE PIECE. Barrels are made of different metal than the solder. They vibrate differently than will the solder. That is one of the reasons why solder joints occasional break loose on old guns.
If you have ever stretches a clothes line rope as tight as possible, and then "plucked it" in the middle, you can see the harmonic waves associated with the vibration. Pluck the same rope some place away from the middle, and you get different waves. Vibrations in materials is what makes the sound in musical instruments, from violins, to brass and reeds, to drums. The sounds produced not only vary in pitch, but in tone, due to the materials with which the instrument is made, the shape of the instrument, its size, and the kind of vibrations that are given the instrument by the performer.
A piece of lead pushed through a steel tube under high pressure of expanding gases causes that steel tube to VIBRATE. If its held only at one end, the vibrations can be violent enough to almost be visible to the naked eye. Certainly, if you put a finger LIGHTLY next to the barrel near the muzzle , you should be able to feel the vibrations. You can solder the barrels together their full length, and the steel in both barrels will still vibrate- only differently, and with sine waves flowing away from the joint.
One of the benefits of using Octagon shaped barrels( in muzzleloaders and the now uncommon modern, breechloading rifle) is that the Octagon is an interlocking combination of Three( Or more,arguably) Triangles, the strongest structure in geometry. Those triangles help lessen and dampen the harmonics of the barrel, to give the gun more consistent barrel movement( vibrations) from shot to shot, even when there are slight variations of powder charges( volume measurements) and Muzzle Velocities. Round barrels whip back and forth a lot more, by comparison, unless the diameter of the barrel is at least 3x the diameter of the bore. You simply don't find that in modern " sporting rifles" these days. Some modern Target barrels have "flutes" cut into them, to stiffen the barrel much like an Octagon shaped barrel, only inverted.( Convex vs. concave).