ALSA: pcm: Add timestamp type to sw_params
commit5646eda5851e6cfdfa22d41895e3f5daffa643d3
authorTakashi Iwai <tiwai@suse.de>
Thu, 10 Jul 2014 07:50:19 +0000 (10 09:50 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 10 Jul 2014 14:58:15 +0000 (10 16:58 +0200)
tree833064daee079d8c84874a4ec7cf1e7d025ac460
parent0ac8a52d4541adc284a4f3e8a1f6847236de1d8a
ALSA: pcm: Add timestamp type to sw_params

For allowing adjusting the timestamp type on the fly, add it to
sw_params.  The existing ioctl is still kept for compatibility.

Along with this, increment the PCM protocol version.

The extension was suggested by Clemens Ladisch.

Acked-by: Jaroslav Kysela <perex@perex.cz>
Reviewed-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/uapi/sound/asound.h
sound/core/pcm_native.c