Takashi Iwai
1e5af7a2e1
- Use alsa API properly. 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 (bsc#1130333) apulse-alsa.patch OBS-URL: https://build.opensuse.org/request/show/688625 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/apulse?expand=0&rev=23
23 lines
378 B
Diff
23 lines
378 B
Diff
--- a/src/apulse.h
|
|
+++ b/src/apulse.h
|
|
@@ -26,7 +26,7 @@
|
|
|
|
#define _GNU_SOURCE
|
|
#include "ringbuffer.h"
|
|
-#include <asoundlib.h>
|
|
+#include <alsa/asoundlib.h>
|
|
#include <glib.h>
|
|
#include <poll.h>
|
|
#include <pthread.h>
|
|
--- a/src/util.h
|
|
+++ b/src/util.h
|
|
@@ -24,7 +24,7 @@
|
|
|
|
#pragma once
|
|
|
|
-#include <asoundlib.h>
|
|
+#include <alsa/asoundlib.h>
|
|
#include <pulse/pulseaudio.h>
|
|
|
|
int
|