alsa-lib/src
Takashi Iwai ae564665ec Fix alsa/sound/*.h for external programs
The recent update of sound/*.h to sync with the latest Linus uapi
files broke the build of alsa-tools programs.  These files used to be
a modified version of Linux sound/* header files, so that they could
be built without Linux headers.  The special prefix like __user and
other things were worked around there.

We may do that again, but a better approach is to fix those things in
Linux kernel uapi side, while we keep the minimal workaround in
alsa-lib such as the __u16 and co type definitions.

This patch is such an attempt, namely:
- Keep the original $LINUX/uapi/sound/*.h in include/sound/uapi
  directory
- The "fixes" are applied to some uapi headers, so that they don't
  contain Linux-specific prefix and use of opaque struct like
  snd_ctl_elem_id
- The uapi headers are included indirectly from include/sound/*.h
- Some headers have inclusion of type_compat.h for the Linux variable
  types and prefixes
- type_compat.h tries to use <linux/types.h> when __linux__ is
  defined, instead of the own conflicting definitions

The last type might need a bit more adjustment depending on the
compiler, but it can be fixed locally without disturbing else.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2019-12-20 16:43:50 +01:00
..
alisp alisp: add the missing include 2019-03-15 13:16:20 +01:00
conf topology: remove configuration files (moved to alsa-topology-conf repository) 2019-11-14 15:01:16 +01:00
control namehint: improve the previous patch (check the returned value) 2019-12-01 14:30:54 +01:00
hwdep core: Proper reference of internal snd_dlopen() 2018-01-04 15:29:57 +01:00
mixer mixer: simple - add snd_mixer_selem_id_parse() from amixer 2019-11-14 15:00:40 +01:00
pcm pcm_file: fix pipe stall when pclose() is called too early 2019-11-22 00:57:43 +01:00
rawmidi rawmidi_hw: add sanity check for the invalid stream arguments (coverity) 2019-05-24 21:25:50 +02:00
seq add snd_strlcpy() and use it everywhere 2019-03-25 16:46:05 +01:00
timer add support for GCC's LTO 2019-04-09 12:44:14 +02:00
topology Fix alsa/sound/*.h for external programs 2019-12-20 16:43:50 +01:00
ucm ucm: setup conf_format after getting ALSA_CONFIG_UCM_VAR successfully 2019-12-11 08:01:47 +01:00
async.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
conf.c alsa-lib: fix the array parser (unique compound keys) 2019-12-12 18:44:35 +01:00
confmisc.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
dlmisc.c rawmidi: use snd_dlobj_cache_get2() in rawmidi open (coverity) 2019-05-24 21:25:50 +02:00
error.c add snd_strlcpy() and use it everywhere 2019-03-25 16:46:05 +01:00
input.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
Makefile.am create separated libatopology library with the topology routines 2019-11-14 15:01:12 +01:00
names.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
output.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
shmarea.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
socket.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
userfile.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
Versions.in Change snd_dlopen() function to return the error string 2017-11-27 21:48:20 +01:00