When e.g. using mbrola voices, the sample rate may change. When the application plays audio itself, it needs to know it, and espeak_ng_GetSampleRate does not report that.