  We prove an integral formula computing multiplicities of square-integrable
representations relative to Galois pairs over $p$-adic fields and we apply this
formula to verify two consequences of a conjecture of Dipendra Prasad. One
concerns the exact computation of the multiplicity of the Steinberg
representation and the other the invariance of multiplicities by transfer among
inner forms.
