alsa: Use correct header path

Consumers are expected to use <alsa/asoundlib.h> instead of
<asoundlib.h>.

This is in preparation of an change to pkgconfig(alsa) to
not pollute CFLAGS with -I/usr/include/alsa anymore.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
This commit is contained in:
Olaf Hering 2019-03-27 09:35:05 +01:00 committed by Arun Raghavan
parent 129357f206
commit 993d3fd89e
8 changed files with 8 additions and 8 deletions

View file

@ -23,7 +23,7 @@
#endif #endif
#include <sys/types.h> #include <sys/types.h>
#include <asoundlib.h> #include <alsa/asoundlib.h>
#include <math.h> #include <math.h>
#ifdef HAVE_VALGRIND_MEMCHECK_H #ifdef HAVE_VALGRIND_MEMCHECK_H

View file

@ -21,7 +21,7 @@
along with PulseAudio; if not, see <http://www.gnu.org/licenses/>. along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
***/ ***/
#include <asoundlib.h> #include <alsa/asoundlib.h>
#include <pulse/sample.h> #include <pulse/sample.h>
#include <pulse/mainloop-api.h> #include <pulse/mainloop-api.h>

View file

@ -25,7 +25,7 @@
#include <signal.h> #include <signal.h>
#include <stdio.h> #include <stdio.h>
#include <asoundlib.h> #include <alsa/asoundlib.h>
#ifdef HAVE_VALGRIND_MEMCHECK_H #ifdef HAVE_VALGRIND_MEMCHECK_H
#include <valgrind/memcheck.h> #include <valgrind/memcheck.h>

View file

@ -25,7 +25,7 @@
#include <signal.h> #include <signal.h>
#include <stdio.h> #include <stdio.h>
#include <asoundlib.h> #include <alsa/asoundlib.h>
#include <pulse/rtclock.h> #include <pulse/rtclock.h>
#include <pulse/timeval.h> #include <pulse/timeval.h>

View file

@ -27,7 +27,7 @@
#include <ctype.h> #include <ctype.h>
#include <sys/types.h> #include <sys/types.h>
#include <limits.h> #include <limits.h>
#include <asoundlib.h> #include <alsa/asoundlib.h>
#ifdef HAVE_VALGRIND_MEMCHECK_H #ifdef HAVE_VALGRIND_MEMCHECK_H
#include <valgrind/memcheck.h> #include <valgrind/memcheck.h>

View file

@ -23,7 +23,7 @@
#endif #endif
#include <sys/types.h> #include <sys/types.h>
#include <asoundlib.h> #include <alsa/asoundlib.h>
#include <pulse/sample.h> #include <pulse/sample.h>
#include <pulse/xmalloc.h> #include <pulse/xmalloc.h>

View file

@ -21,7 +21,7 @@
along with PulseAudio; if not, see <http://www.gnu.org/licenses/>. along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
***/ ***/
#include <asoundlib.h> #include <alsa/asoundlib.h>
#include <pulse/sample.h> #include <pulse/sample.h>
#include <pulse/channelmap.h> #include <pulse/channelmap.h>

View file

@ -24,7 +24,7 @@
#include <stdio.h> #include <stdio.h>
#include <asoundlib.h> #include <alsa/asoundlib.h>
#ifdef HAVE_VALGRIND_MEMCHECK_H #ifdef HAVE_VALGRIND_MEMCHECK_H
#include <valgrind/memcheck.h> #include <valgrind/memcheck.h>