And btw, sample rate conversion can be used as some sort of pitch shifting. This is in fact what some software samplers seem to do under the hood, they're resampling internally. For that purpose, within a certain range of applications, it works pretty well, too. And it works without ever detecting any frequencies.
And before anyone starts going at me yet again: I'm not saying that this is an applicable method for our use case, but it still perfectly proves that pitch shifting doesn't need to "detect" frequencies.
For our use cases, we'd also have to realtime stretch the resulting material as sample rate conversion comes along with length changes as well - and I have zero ideas of whether that'd be possible.
Anyhow, as said, no, pitch shifting doesn't need to "detect" frequencies per se. It does only have to do that in case you wanted things such as pitch-to-MIDI, intelligent pitch shifting, pitch shifting of individual notes within a chord and what not. For plain, static pitch shifting, this is not a necessity.
Sure, it might work best in case the algorithm would actually detect the frequencies, but that result in incredibly large latencies - which we are not seeing (that alone should render this explanation moot).