You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

130 lines
3.7 KiB

  1. From 993d3fd89e5611997f1e165bf03edefb0204b0a4 Mon Sep 17 00:00:00 2001
  2. From: Olaf Hering <olaf@aepfle.de>
  3. Date: Wed, 27 Mar 2019 09:35:05 +0100
  4. Subject: [PATCH] alsa: Use correct header path
  5. Consumers are expected to use <alsa/asoundlib.h> instead of
  6. <asoundlib.h>.
  7. This is in preparation of an change to pkgconfig(alsa) to
  8. not pollute CFLAGS with -I/usr/include/alsa anymore.
  9. Signed-off-by: Olaf Hering <olaf@aepfle.de>
  10. ---
  11. src/modules/alsa/alsa-mixer.c | 2 +-
  12. src/modules/alsa/alsa-mixer.h | 2 +-
  13. src/modules/alsa/alsa-sink.c | 2 +-
  14. src/modules/alsa/alsa-source.c | 2 +-
  15. src/modules/alsa/alsa-ucm.c | 2 +-
  16. src/modules/alsa/alsa-util.c | 2 +-
  17. src/modules/alsa/alsa-util.h | 2 +-
  18. src/modules/alsa/module-alsa-source.c | 2 +-
  19. 8 files changed, 8 insertions(+), 8 deletions(-)
  20. diff --git a/src/modules/alsa/alsa-mixer.c b/src/modules/alsa/alsa-mixer.c
  21. index 5cb99c8fd..cd99a75f8 100644
  22. --- a/src/modules/alsa/alsa-mixer.c
  23. +++ b/src/modules/alsa/alsa-mixer.c
  24. @@ -23,7 +23,7 @@
  25. #endif
  26. #include <sys/types.h>
  27. -#include <asoundlib.h>
  28. +#include <alsa/asoundlib.h>
  29. #include <math.h>
  30. #ifdef HAVE_VALGRIND_MEMCHECK_H
  31. diff --git a/src/modules/alsa/alsa-mixer.h b/src/modules/alsa/alsa-mixer.h
  32. index 3ea4d7329..65b071165 100644
  33. --- a/src/modules/alsa/alsa-mixer.h
  34. +++ b/src/modules/alsa/alsa-mixer.h
  35. @@ -21,7 +21,7 @@
  36. along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
  37. ***/
  38. -#include <asoundlib.h>
  39. +#include <alsa/asoundlib.h>
  40. #include <pulse/sample.h>
  41. #include <pulse/mainloop-api.h>
  42. diff --git a/src/modules/alsa/alsa-sink.c b/src/modules/alsa/alsa-sink.c
  43. index 28143402a..4b46708ce 100644
  44. --- a/src/modules/alsa/alsa-sink.c
  45. +++ b/src/modules/alsa/alsa-sink.c
  46. @@ -25,7 +25,7 @@
  47. #include <signal.h>
  48. #include <stdio.h>
  49. -#include <asoundlib.h>
  50. +#include <alsa/asoundlib.h>
  51. #ifdef HAVE_VALGRIND_MEMCHECK_H
  52. #include <valgrind/memcheck.h>
  53. diff --git a/src/modules/alsa/alsa-source.c b/src/modules/alsa/alsa-source.c
  54. index 8129220b0..c8bf649e1 100644
  55. --- a/src/modules/alsa/alsa-source.c
  56. +++ b/src/modules/alsa/alsa-source.c
  57. @@ -25,7 +25,7 @@
  58. #include <signal.h>
  59. #include <stdio.h>
  60. -#include <asoundlib.h>
  61. +#include <alsa/asoundlib.h>
  62. #include <pulse/rtclock.h>
  63. #include <pulse/timeval.h>
  64. diff --git a/src/modules/alsa/alsa-ucm.c b/src/modules/alsa/alsa-ucm.c
  65. index 341c8012e..0a40ca8fe 100644
  66. --- a/src/modules/alsa/alsa-ucm.c
  67. +++ b/src/modules/alsa/alsa-ucm.c
  68. @@ -27,7 +27,7 @@
  69. #include <ctype.h>
  70. #include <sys/types.h>
  71. #include <limits.h>
  72. -#include <asoundlib.h>
  73. +#include <alsa/asoundlib.h>
  74. #ifdef HAVE_VALGRIND_MEMCHECK_H
  75. #include <valgrind/memcheck.h>
  76. diff --git a/src/modules/alsa/alsa-util.c b/src/modules/alsa/alsa-util.c
  77. index e8d712e72..bd0a47e50 100644
  78. --- a/src/modules/alsa/alsa-util.c
  79. +++ b/src/modules/alsa/alsa-util.c
  80. @@ -23,7 +23,7 @@
  81. #endif
  82. #include <sys/types.h>
  83. -#include <asoundlib.h>
  84. +#include <alsa/asoundlib.h>
  85. #include <pulse/sample.h>
  86. #include <pulse/xmalloc.h>
  87. diff --git a/src/modules/alsa/alsa-util.h b/src/modules/alsa/alsa-util.h
  88. index 6b27339ec..4ceaa06ee 100644
  89. --- a/src/modules/alsa/alsa-util.h
  90. +++ b/src/modules/alsa/alsa-util.h
  91. @@ -21,7 +21,7 @@
  92. along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
  93. ***/
  94. -#include <asoundlib.h>
  95. +#include <alsa/asoundlib.h>
  96. #include <pulse/sample.h>
  97. #include <pulse/channelmap.h>
  98. diff --git a/src/modules/alsa/module-alsa-source.c b/src/modules/alsa/module-alsa-source.c
  99. index af6800dd2..747ba9342 100644
  100. --- a/src/modules/alsa/module-alsa-source.c
  101. +++ b/src/modules/alsa/module-alsa-source.c
  102. @@ -24,7 +24,7 @@
  103. #include <stdio.h>
  104. -#include <asoundlib.h>
  105. +#include <alsa/asoundlib.h>
  106. #ifdef HAVE_VALGRIND_MEMCHECK_H
  107. #include <valgrind/memcheck.h>
  108. --
  109. 2.22.0