Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
36c1cbc3
Commit
36c1cbc3
authored
May 25, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pulse: require Xlib
parent
025e08ce
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
configure.ac
configure.ac
+9
-7
modules/audio_output/pulse.c
modules/audio_output/pulse.c
+3
-1
No files found.
configure.ac
View file @
36c1cbc3
...
...
@@ -3644,14 +3644,16 @@ fi
dnl
dnl Pulseaudio module
dnl
PKG_ENABLE_MODULES_VLC([PULSE], [], [libpulse >= 0.9.11], [Pulseaudio support], [auto])
AS_IF([ test "$have_x" = yes],[
AS_IF([test "${no_x}" = "yes"], [
AS_IF([test "${enable_pulse}" = "yes"], [
AC_MSG_ERROR([Xlib is required for VLC PulseAudio support
(see http://www.pulseaudio.org/ticket/799 for further reference).])
])
], [
PKG_ENABLE_MODULES_VLC([PULSE], [], [libpulse >= 0.9.11], [Pulseaudio support], [auto])
VLC_ADD_LIBS([pulse], [${X_LIBS} ${X_PRE_LIBS} -lX11])
],[
AC_MSG_WARN([The pulse audio output module will be built without X
support. If you use VLC under X, you will experience
strange threading problems])
])
dnl
dnl Portaudio module
dnl
...
...
modules/audio_output/pulse.c
View file @
36c1cbc3
...
...
@@ -121,7 +121,9 @@ static int Open ( vlc_object_t *p_this )
struct
pa_buffer_attr
a
;
struct
pa_channel_map
map
;
#ifdef HAVE_X11_XLIB_H
#ifdef X_DISPLAY_MISSING
# error Xlib required due to PulseAudio bug 799!
#else
if
(
!
XInitThreads
()
)
return
VLC_EGENERIC
;
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment