linux/include/uapi/sound
Martin Koegler a1ce94d03b ALSA: seq: Provide card number / PID via sequencer client info
rawmidi devices expose the card number via IOCTLs, which allows to
find the corresponding device in sysfs.

The sequencer provides no identifing data. Chromium works around this
issue by scanning rawmidi as well as sequencer devices and matching
them by using assumtions, how the kernel register sequencer devices.

This changes adds support for exposing the card number for kernel clients
as well as the PID for user client.

The minor of the API version is changed to distinguish between the zero
initialised reserved field and card number 0.

[minor coding style fixes by tiwai]

Signed-off-by: Martin Koegler <martin.koegler@chello.at>
Acked-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2016-03-08 10:52:52 +01:00
..
asequencer.h ALSA: seq: Provide card number / PID via sequencer client info 2016-03-08 10:52:52 +01:00
asoc.h ASoC: topology: ABI - Rename dai_elems to pcm_elems in manifest 2015-11-16 10:17:17 +00:00
asound_fm.h UAPI: (Scripted) Disintegrate include/sound 2012-10-09 09:49:13 +01:00
asound.h ALSA: uapi: Make alsa asound.h header more portable 2016-03-04 10:50:48 +01:00
compress_offload.h ALSA: Fix spelling typo in Documentation/DocBook/alsa-driver-api.xml 2015-03-04 12:12:59 +01:00
compress_params.h ALSA: compress: Add SND_AUDIOCODEC_BESPOKE 2015-12-23 00:20:50 +00:00
emu10k1.h ALSA: emu10k1: added EMU10K1 version of DECLARE_BITMAP macro for UAPI 2015-10-15 10:02:26 +02:00
firewire.h ALSA: firewire-tascam: add hwdep interface 2015-10-02 18:17:04 +02:00
hdsp.h UAPI: (Scripted) Disintegrate include/sound 2012-10-09 09:49:13 +01:00
hdspm.h ALSA: hdspm: use __u8, __u32 and __u64 from linux/types.h instead of stdint.h 2015-10-15 10:03:11 +02:00
Kbuild ALSA: add DICE driver 2013-10-17 21:18:32 +02:00
sb16_csp.h UAPI: (Scripted) Disintegrate include/sound 2012-10-09 09:49:13 +01:00
sfnt_info.h UAPI: (Scripted) Disintegrate include/sound 2012-10-09 09:49:13 +01:00
tlv.h ALSA: topology: Export ID types for TLV controls. 2015-06-04 09:40:03 +01:00
usb_stream.h ALSA: usx2y: Move UAPI definition into include/uapi/sound/usb_stream.h 2015-01-28 17:33:49 +01:00