2 Mar
2010
2 Mar
'10
2:45 p.m.
On Tue, Mar 02, 2010 at 03:39:49PM +0200, Peter Ujfalusi wrote:
- /* Query the delay only for playback stream */
- if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
if (cpu_dai->ops->delay)
delay += cpu_dai->ops->delay(substream, cpu_dai);
if (codec_dai->ops->delay)
delay += codec_dai->ops->delay(substream, codec_dai);
runtime->delay = delay;
- }
I'd be inclined to leave this up to the drivers to avoid surprises if it becomes useful for the capture case in the future. Not sure that that's likely, but I'd rather avoid potential future transitions.