Skip to content

Commit

Permalink
pulseaudio: Move Pulseaudio include in correct place when using autoc…
Browse files Browse the repository at this point in the history
…onf (#843)

As Jack and Pulseaudio both needs Ringbuffer that include can
be done in same place. In configure.in also Pulseaudio header
file was included before it was sure that it was really needed.

Commit makes sure that Pulseaudio include is available only if
it's needed as it can cause failing in build if Pulseaudio
develoment files are not available.
  • Loading branch information
illuusio authored Sep 30, 2023
1 parent 0dce0e9 commit ba3f91f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -404,10 +404,10 @@ case "${host_os}" in

if [[ "$have_pulse" = "yes" ] || [ "$have_jack" = "yes" ]] ; then
OTHER_OBJS="$OTHER_OBJS src/common/pa_ringbuffer.o"
INCLUDES="$INCLUDES pa_linux_pulseaudio.h"
fi

if [[ "$have_pulse" = "yes" ] && [ "$with_pulse" != "no" ]] ; then
INCLUDES="$INCLUDES pa_linux_pulseaudio.h"
DLL_LIBS="$DLL_LIBS $PULSE_LIBS"
CFLAGS="$CFLAGS $PULSE_CFLAGS"
OTHER_OBJS="$OTHER_OBJS src/hostapi/pulseaudio/pa_linux_pulseaudio_cb.o"
Expand Down

0 comments on commit ba3f91f

Please sign in to comment.