alsa-lib/include
Takashi Iwai 8ef3805f1b pcm: hw: Call USER_PVERSION ioctl at open
Up from the new PCM protocol 2.0.14, user-space can inform the
protocol version it supports to kernel, so that the kernel may switch
its behavior depending on it.  Add this ioctl call in the PCM hw
plugin at opening.

The patch contains also the addition of SNDRV_PCM_INFO_SYNC_APPLPTR
carried from the upstream kernel commit 42f945970af9 ("ALSA: pcm: Add
the explicit appl_ptr sync support"), as well as the trivial change
(an addition of comma) to sync with the kernel asound.h.

Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Tested-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2017-06-27 11:45:22 +02:00
..
sound pcm: hw: Call USER_PVERSION ioctl at open 2017-06-27 11:45:22 +02:00
alisp.h Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-15 10:24:55 +02:00
alsa-symbols.h Drop ppc64-specific workaround for versioned symbols 2017-02-23 12:37:47 +01:00
aserver.h Remove unused hostname resolution in shm plugins and aserver 2015-01-28 16:23:06 +01:00
asoundef.h IEC958 definition for consumer status channel update 2008-08-01 13:17:52 +02:00
asoundlib-head.h Portability fix: look for sys/endian.h as well as endian.h 2014-02-24 11:00:53 +01:00
asoundlib-tail.h Create asoundlib.h dynamically according to configure options 2007-07-10 15:58:41 +02:00
bswap.h Introduce bswap.h for portable definitions of byte swap macros. 2016-03-03 16:18:10 +01:00
conf.h conf: Allow dynamic top-level config directory 2017-05-03 09:54:16 +02:00
control.h ctl: rename APIs to add an element set so that their names are appropriate 2016-07-17 10:01:25 +02:00
control_external.h all places: doxygen cleanups 2013-04-08 16:42:24 +02:00
error.h all places: doxygen cleanups 2013-04-08 16:42:24 +02:00
global.h include/global.h - don't define timeval and timespec structures for !glibc 2013-11-08 12:34:44 +01:00
hwdep.h hwdep: add support for MOTU FireWire series and RME Fireface series 2017-04-21 17:57:57 +02:00
input.h Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-15 10:24:55 +02:00
list.h Replace list.h with its own version 2015-07-27 12:39:54 +02:00
local.h Define some types if missing 2016-03-03 10:59:52 +01:00
Makefile.am pcm: Remove home brew atomic operations 2016-07-11 15:25:30 +02:00
mixer.h all places: doxygen cleanups 2013-04-08 16:42:24 +02:00
mixer_abst.h implemented integer volume <-> dB volume conversion functions for simple mixer 2008-04-21 11:44:20 +02:00
output.h Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-15 10:24:55 +02:00
pcm.h pcm: Fix doxygen for two enums 2015-08-24 22:26:11 +02:00
pcm_external.h Fix documentation of external PCM plugin SDK 2005-05-24 09:42:01 +00:00
pcm_extplug.h Use __inline__ for exported headers 2013-04-25 09:52:33 +02:00
pcm_ioplug.h pcm: Add thread-safety to PCM API 2016-07-11 15:25:30 +02:00
pcm_old.h pcm: fix get_stop_threshold alsa-lib 0.9 alias 2016-12-15 22:47:02 +01:00
pcm_plugin.h Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-15 10:24:55 +02:00
pcm_rate.h pcm: rate: Add capability to pass configuration node to plugins 2017-02-21 22:29:44 +01:00
rawmidi.h Remove assert from header files 2007-10-25 15:36:03 +02:00
search.h Corrections by Kevin Conder <kconder@interaccess.com> 2002-03-12 20:14:33 +00:00
seq.h seq: Provide sequencer sound card number / PID via alsa-lib 2016-03-08 10:57:18 +01:00
seq_event.h all places: doxygen cleanups 2013-04-08 16:42:24 +02:00
seq_midi_event.h Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-15 10:24:55 +02:00
seqmid.h Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-15 10:24:55 +02:00
sys.h Ok, added warning to sys/asoundlib.h with redirection to alsa/asoundlib.h. 2001-09-11 12:18:56 +00:00
timer.h timer: obsolete legacy rtctimer instance 2017-04-21 17:57:56 +02:00
topology.h topology: Add parsing for rates from conf 2017-06-20 08:10:36 +02:00
type_compat.h Add more compatibility defines. 2016-03-03 16:18:54 +01:00
use-case.h ucm: Add command 'get _file' to get the config file name of the opened card 2017-01-18 11:55:25 +01:00