kernel_optimize_test/include/uapi/sound
Pierre-Louis Bossart 229d043096 ALSA: core: selection of audio_tstamp type and accuracy reports
Audio timestamps can be extracted from sample counters, wall clocks,
PHC clocks (Ethernet AVB), on-demand synchronized snapshots. This
patch provides the ability to report timestamping capabilities, select
timestamp types and retrieve timestamp accuracy, if supported.
Details can be found in Documentations/sound/alsa/timestamping.txt

This functionality is introduced by reclaiming the reserved_aligned
field introduced by commit9c7066aef4a5eb8e4063de28f06c508bf6f2963a
in snd_pcm_status to provide userspace with selection/query capabilities.
Additional driver_tstamp and audio_tstamp_accuracy fields are also added.

snd_pcm_mmap_status remains a read-only structure with only
the audio timestamp value accessible from user space. The selection
of audio timestamp type is done through snd_pcm_status only

This commit does not impact ABI and does not impact the default
behavior. By default audio timestamp is aligned with hw_pointer and
reports the DMA position. Backwards compatibility is handled by using
the HDAudio wall clock for playback and the hw_ptr for all other
cases.

For timestamp selection a new STATUS_EXT ioctl is introduced with
read/write parameters. Alsa-lib will be modified to make use of
STATUS_EXT.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-02-20 17:30:03 +01:00
..
asequencer.h
asound_fm.h
asound.h ALSA: core: selection of audio_tstamp type and accuracy reports 2015-02-20 17:30:03 +01:00
compress_offload.h ALSA: doc: Fix uapi/sound/compress_offload.h kerneldoc comments 2014-10-29 08:22:05 +01:00
compress_params.h ALSA: compress: fix the struct alignment to 4 bytes 2014-06-23 12:15:33 +02:00
emu10k1.h
firewire.h ALSA: oxfw: Add hwdep interface 2014-12-10 10:50:00 +01:00
hdsp.h
hdspm.h ALSA: Fix invalid kerneldoc markers 2014-11-11 09:39:17 +01:00
Kbuild ALSA: add DICE driver 2013-10-17 21:18:32 +02:00
sb16_csp.h
sfnt_info.h
usb_stream.h ALSA: usx2y: Move UAPI definition into include/uapi/sound/usb_stream.h 2015-01-28 17:33:49 +01:00