mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-27 07:00:01 -05:00
add CPU load limiter
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@176 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
c73a298f88
commit
4a9239f808
10 changed files with 392 additions and 40 deletions
|
|
@ -31,7 +31,7 @@ AM_LIBADD=$(PTHREAD_LIBS) -lm
|
|||
EXTRA_DIST = polypaudio.pa depmod.py esdcompat.sh.in
|
||||
bin_PROGRAMS = polypaudio pacat pactl
|
||||
bin_SCRIPTS = esdcompat.sh
|
||||
noinst_PROGRAMS = mainloop-test mainloop-test-glib mainloop-test-glib12 pacat-simple parec-simple
|
||||
noinst_PROGRAMS = mainloop-test mainloop-test-glib mainloop-test-glib12 pacat-simple parec-simple cpulimit-test cpulimit-test2
|
||||
|
||||
polypconf_DATA=polypaudio.pa
|
||||
|
||||
|
|
@ -142,7 +142,8 @@ polypaudio_SOURCES = idxset.c idxset.h \
|
|||
xmalloc.c xmalloc.h \
|
||||
subscribe.h subscribe.c \
|
||||
debug.h \
|
||||
sound-file-stream.c sound-file-stream.h
|
||||
sound-file-stream.c sound-file-stream.h \
|
||||
cpulimit.c cpulimit.h
|
||||
|
||||
polypaudio_CFLAGS = $(AM_CFLAGS) $(LIBSAMPLERATE_CFLAGS) $(LIBSNDFILE_CFLAGS)
|
||||
polypaudio_INCLUDES = $(INCLTDL)
|
||||
|
|
@ -387,6 +388,15 @@ mainloop_test_glib12_SOURCES = $(mainloop_test_SOURCES)
|
|||
mainloop_test_glib12_CFLAGS = $(mainloop_test_CFLAGS) $(GLIB12_CFLAGS) -DGLIB_MAIN_LOOP
|
||||
mainloop_test_glib12_LDADD = $(mainloop_test_LDADD) $(GLIB12_LIBS) libpolyp-mainloop-glib12.la
|
||||
|
||||
cpulimit_test_SOURCES = cpulimit-test.c cpulimit.c util.c
|
||||
cpulimit_test_CFLAGS = $(AM_CFLAGS)
|
||||
cpulimit_test_LDADD = $(AM_LDADD) libpolyp-mainloop.la
|
||||
|
||||
cpulimit_test2_SOURCES = cpulimit-test.c cpulimit.c util.c
|
||||
cpulimit_test2_CFLAGS = $(AM_CFLAGS) -DTEST2
|
||||
cpulimit_test2_LDADD = $(AM_LDADD) libpolyp-mainloop.la
|
||||
|
||||
|
||||
if BUILD_LIBPOLYPCORE
|
||||
|
||||
polypinclude_HEADERS+=cli-command.h\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue