pcm_rate: Do not discard slave reported delay in status result.
pcm_rate: Do not discard slave reported delay in status result.

snd_pcm_rate_status() gets the underlying status from the slave PCM.
This may contain a delay value that includes elements such as codec and
other transfer delays. Use this as the base for the returned delay
value, adjusted for any frames buffered locally (within the rate
plugin).

Also update snd_pcm_rate_delay() similarly.

[fixed some comments by tiwai]

Signed-off-by: Alan Young <cbc9e6d3497254d9f83d7708ae2e1ab60e5acd3f@gmail.com>
Signed-off-by: Takashi Iwai <4596b3305151c7ee743192a95d394341e3d3b644@suse.de>

alsa-project/alsa-lib,takaswie/alsa-lib,alsa-project/alsa-lib,takaswie/alsa-lib,tiwai/alsa-lib,takaswie/alsa-lib,takaswie/alsa-lib,alsa-project/alsa-lib,takaswie/alsa-lib,tiwai/alsa-lib,alsa-project/alsa-lib,tiwai/alsa-lib,tiwai/alsa-lib