Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 215342 | Differences between
and this patch

Collapse All | Expand All

(-)configure.ac.pulsefixes (-11 / +7 lines)
Lines 4158-4174 Link Here
4158
dnl
4158
dnl
4159
AC_ARG_ENABLE(pulse,
4159
AC_ARG_ENABLE(pulse,
4160
  [  --enable-pulse          Pulseaudio support (default disabled)],
4160
  [  --enable-pulse          Pulseaudio support (default disabled)],
4161
  [
4161
  [if test "${enable_pulse}" = "yes"
4162
    if test "x$enable_pulse" != "xno"; then
4162
   then
4163
    PKG_CHECK_MODULES([PULSEAUDIO], [libpulse], [
4163
     PKG_CHECK_MODULES(PULSE, libpulse,
4164
       VLC_ADD_PLUGINS([pulse])
4164
       [ VLC_ADD_PLUGINS([pulse])
4165
       VLC_ADD_CFLAGS([pulse],[`pkg-config --cflags libpulse`])
4165
        VLC_ADD_CFLAGS([pulse],[${PULSE_CFLAGS}])
4166
       VLC_ADD_LIBS([pulse],[`pkg-config --libs libpulse`])
4166
        VLC_ADD_LDFLAGS([pulse],[${PULSE_LIBS}])]:,
4167
     ], [
4167
       [AC_MSG_WARN(pulsaudio library not found)])
4168
    AS_IF([test "${enable_pulse}" = "yes"],[
4169
        AC_MSG_WARN( libpulse not found) 
4170
       ])
4171
    ])
4172
   fi])
4168
   fi])
4173
4169
4174
dnl
4170
dnl
(-)modules/audio_output/pulse.c.orig (-1 / +3 lines)
Lines 28-34 Link Here
28
#endif
28
#endif
29
29
30
#include <vlc/vlc.h>
30
#include <vlc/vlc.h>
31
#include <vlc_aout.h>
31
#include <vlc/aout.h>
32
#include "aout_internal.h"
32
33
33
#include <pulse/pulseaudio.h>
34
#include <pulse/pulseaudio.h>
34
35
Lines 218-223 Link Here
218
    buffer_attr = pa_stream_get_buffer_attr(p_sys->stream);
218
    buffer_attr = pa_stream_get_buffer_attr(p_sys->stream);
219
    p_aout->output.i_nb_samples = buffer_attr->minreq / pa_frame_size(&ss);
219
    p_aout->output.i_nb_samples = buffer_attr->minreq / pa_frame_size(&ss);
220
    p_aout->output.pf_play = Play;
220
    p_aout->output.pf_play = Play;
221
    aout_VolumeSoftInit(p_aout);
221
    msg_Dbg(p_aout, "Pulse initialized successfully\n");
222
    msg_Dbg(p_aout, "Pulse initialized successfully\n");
222
    {
223
    {
223
           char cmt[PA_CHANNEL_MAP_SNPRINT_MAX], sst[PA_SAMPLE_SPEC_SNPRINT_MAX];
224
           char cmt[PA_CHANNEL_MAP_SNPRINT_MAX], sst[PA_SAMPLE_SPEC_SNPRINT_MAX];

Return to bug 215342