]> git.alsa-project.org Git - alsa-plugins.git/commit
aaf: Refactor timeout routines
authorAndre Guedes <andre.guedes@intel.com>
Sat, 8 Dec 2018 01:55:48 +0000 (17:55 -0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 10 Dec 2018 08:42:17 +0000 (09:42 +0100)
commitce4e71d2bd181440dabe11ad3d9feda1d24fe758
treeb4b4a7bfc412ac085e84ab7fd8e344546dc03b7f
parent45db57391f9206014b37c4f082951d00eae0d3a3
aaf: Refactor timeout routines

The functions aaf_mclk_timeout_playback() and aaf_mclk_timeout_capture()
have some common code so this patch does a code refactoring by moving
the shared code into a new function called aaf_timer_timeout().

After the refactoring, aaf_mclk_timeout_playback() and aaf_mclk_timeout_
capture() ended up having no code related to timeout so they were
renamed to better represent what they really do (send frames and present
frames, respectively).

Signed-off-by: Andre Guedes <andre.guedes@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
aaf/pcm_aaf.c