Skip to content
Commit c99c5a3b authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: pcm: Unify delay calculation in snd_pcm_status() and snd_pcm_delay()



Yet another slight code cleanup: there are two places where
calculating the PCM delay, and they can be unified in a single
helper.  It reduces the multiple open codes.

Reviewed-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 6448fcba
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment