]> git.alsa-project.org Git - alsa-plugins.git/commit
aaf: Add presentation time tolerance
authorAndre Guedes <andre.guedes@intel.com>
Sat, 8 Dec 2018 01:55:45 +0000 (17:55 -0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 10 Dec 2018 08:40:27 +0000 (09:40 +0100)
commitc6da85855616c745502814792546777b83d744c8
treecd1de2d85eb0e48ff30bcb5440ffb4d4443c8585
parent0d4239817454dd5f5fd155d8d321381b1b561ffa
aaf: Add presentation time tolerance

Different AVTP applications have different presentation time tolerance.
The current version of the plugin doesn't support any tolerance so this
patch extends the AAF plugin in order to enable the user to configure
that tolerance value.

The presentation time tolerance is specified in microseconds and it is
relevant only when the plugin is operating in capture mode.  For more
information see the 'Plugin Configuration' session in doc/aaf.txt

This patch also does some code refactoring and encapsulates all
presentation time validation code in the new is_ptime_valid() helper
function.

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