diff options
Diffstat (limited to 'akode/plugins')
-rw-r--r-- | akode/plugins/CMakeLists.txt | 2 | ||||
-rw-r--r-- | akode/plugins/polyp_sink/CMakeLists.txt | 4 | ||||
-rw-r--r-- | akode/plugins/polyp_sink/Makefile.am | 6 | ||||
-rw-r--r-- | akode/plugins/polyp_sink/polyp_sink.cpp | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/akode/plugins/CMakeLists.txt b/akode/plugins/CMakeLists.txt index ce0f3a4..6e11f1a 100644 --- a/akode/plugins/CMakeLists.txt +++ b/akode/plugins/CMakeLists.txt @@ -15,7 +15,7 @@ tde_conditional_add_subdirectory( WITH_ALSA_SINK alsa_sink ) tde_conditional_add_subdirectory( WITH_JACK_SINK jack_sink ) tde_conditional_add_subdirectory( WITH_OSS_SINK oss_sink ) -tde_conditional_add_subdirectory( WITH_POLYP_SINK polyp_sink ) +tde_conditional_add_subdirectory( WITH_PULSE_SINK polyp_sink ) tde_conditional_add_subdirectory( WITH_SUN_SINK sun_sink ) tde_conditional_add_subdirectory( WITH_FFMPEG_DECODER ffmpeg_decoder ) diff --git a/akode/plugins/polyp_sink/CMakeLists.txt b/akode/plugins/polyp_sink/CMakeLists.txt index 90c4f3c..28a940e 100644 --- a/akode/plugins/polyp_sink/CMakeLists.txt +++ b/akode/plugins/polyp_sink/CMakeLists.txt @@ -15,7 +15,7 @@ include_directories( ${CMAKE_SOURCE_DIR}/akode/lib ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR} - ${POLYP_INCLUDE_DIRS} + ${PULSE_INCLUDE_DIRS} ) @@ -26,7 +26,7 @@ set( target libakode_polyp_sink ) tde_add_library( ${target} MODULE SOURCES polyp_sink.cpp - LINK akode-shared ${POLYP_LIBRARIES} + LINK akode-shared ${PULSE_LIBRARIES} DESTINATION ${LIB_INSTALL_DIR} ) diff --git a/akode/plugins/polyp_sink/Makefile.am b/akode/plugins/polyp_sink/Makefile.am index b67602a..a58b04c 100644 --- a/akode/plugins/polyp_sink/Makefile.am +++ b/akode/plugins/polyp_sink/Makefile.am @@ -1,7 +1,7 @@ -INCLUDES = -I$(top_srcdir)/akode/lib -I$(top_builddir)/akode/lib $(POLYP_CFLAGS) $(all_includes) +INCLUDES = -I$(top_srcdir)/akode/lib -I$(top_builddir)/akode/lib $(PULSE_CFLAGS) $(all_includes) lib_LTLIBRARIES = libakode_polyp_sink.la libakode_polyp_sink_la_SOURCES = polyp_sink.cpp -libakode_polyp_sink_la_LDFLAGS = -module -avoid-version -no-undefined $(POLYP_LDFLAGS) -libakode_polyp_sink_la_LIBADD = ../../lib/libakode.la $(POLYP_LIBADD) +libakode_polyp_sink_la_LDFLAGS = -module -avoid-version -no-undefined $(PULSE_LDFLAGS) +libakode_polyp_sink_la_LIBADD = ../../lib/libakode.la $(PULSE_LIBADD) diff --git a/akode/plugins/polyp_sink/polyp_sink.cpp b/akode/plugins/polyp_sink/polyp_sink.cpp index 9376dac..b48b63e 100644 --- a/akode/plugins/polyp_sink/polyp_sink.cpp +++ b/akode/plugins/polyp_sink/polyp_sink.cpp @@ -25,7 +25,7 @@ #elif defined(HAVE_INTTYPES_H) #include <inttypes.h> #endif -#include <polyp/polyplib-simple.h> +#include <pulse/simple.h> #include "audioframe.h" #include "audiobuffer.h" @@ -59,7 +59,7 @@ PolypSink::PolypSink() bool PolypSink::open() { int error = 0; - m_data->server = pa_simple_new(0, "akode-client", PA_STREAM_PLAYBACK, 0, "", &m_data->sample_spec, 0, 255, &error ); + m_data->server = pa_simple_new(0, "akode-client", PA_STREAM_PLAYBACK, 0, "", &m_data->sample_spec, 0, 0, &error ); if (!m_data->server || error != 0) { m_data->error = true; close(); |