mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-22 06:59:54 -05:00
add new threaded main loop implementation (with test/example)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@823 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
f2fbceb333
commit
9e60bad5c3
4 changed files with 342 additions and 0 deletions
|
|
@ -181,6 +181,7 @@ pabrowse_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|||
|
||||
noinst_PROGRAMS = \
|
||||
mainloop-test \
|
||||
thread-mainloop-test \
|
||||
mcalign-test \
|
||||
pacat-simple \
|
||||
parec-simple \
|
||||
|
|
@ -211,6 +212,11 @@ mainloop_test_CFLAGS = $(AM_CFLAGS)
|
|||
mainloop_test_LDADD = $(AM_LDADD) libpolyp-@PA_MAJORMINOR@.la
|
||||
mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
||||
|
||||
thread_mainloop_test_SOURCES = tests/thread-mainloop-test.c
|
||||
thread_mainloop_test_CFLAGS = $(AM_CFLAGS)
|
||||
thread_mainloop_test_LDADD = $(AM_LDADD) libpolyp-@PA_MAJORMINOR@.la
|
||||
thread_mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
||||
|
||||
mcalign_test_SOURCES = tests/mcalign-test.c
|
||||
mcalign_test_CFLAGS = $(AM_CFLAGS)
|
||||
mcalign_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpolypcore.la
|
||||
|
|
@ -290,6 +296,7 @@ polypinclude_HEADERS = \
|
|||
polyp/mainloop.h \
|
||||
polyp/mainloop-api.h \
|
||||
polyp/mainloop-signal.h \
|
||||
polyp/thread-mainloop.h \
|
||||
polyp/polypaudio.h \
|
||||
polyp/context.h \
|
||||
polyp/def.h \
|
||||
|
|
@ -348,6 +355,7 @@ libpolyp_@PA_MAJORMINOR@_la_SOURCES = \
|
|||
polyp/volume.c polyp/volume.h \
|
||||
polyp/mainloop.c polyp/mainloop.h \
|
||||
polyp/mainloop-signal.c polyp/mainloop-signal.h \
|
||||
polyp/thread-mainloop.c polyp/thread-mainloop.h \
|
||||
polypcore/poll.c polypcore/poll.h
|
||||
|
||||
# Internal stuff that is shared with libpolypcore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue