Skip to content

Commit

Permalink
alsa: handle alsa-lib 1.1.9
Browse files Browse the repository at this point in the history
alsa-lib 1.1.9 removed /usr/include/alsa from the include path, we
must include <alsa/asoundlib.h>
  • Loading branch information
wtay committed May 23, 2019
1 parent 4aff470 commit 37613b6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion spa/plugins/alsa/alsa-monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <poll.h>

#include <libudev.h>
#include <asoundlib.h>
#include <alsa/asoundlib.h>

#include <spa/support/log.h>
#include <spa/support/type-map.h>
Expand Down
2 changes: 1 addition & 1 deletion spa/plugins/alsa/alsa-sink.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include <stddef.h>

#include <asoundlib.h>
#include <alsa/asoundlib.h>

#include <spa/node/node.h>
#include <spa/param/audio/format.h>
Expand Down
2 changes: 1 addition & 1 deletion spa/plugins/alsa/alsa-source.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include <stddef.h>

#include <asoundlib.h>
#include <alsa/asoundlib.h>

#include <spa/node/node.h>
#include <spa/utils/list.h>
Expand Down
2 changes: 1 addition & 1 deletion spa/plugins/alsa/alsa-utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ extern "C" {

#include <stddef.h>

#include <asoundlib.h>
#include <alsa/asoundlib.h>

#include <spa/support/type-map.h>
#include <spa/support/loop.h>
Expand Down

0 comments on commit 37613b6

Please sign in to comment.