poll: remove threads from alsa-sink

Remove the thread from alsa sink and use the pollfd event.
Make it possible to pass multiple fds in one pollfd event
Add 3 callbacks to the pollfd event and add support for timeouts
This commit is contained in:
Wim Taymans 2016-07-08 12:18:01 +02:00
parent ac59fa9371
commit 5fa334a89b
10 changed files with 313 additions and 202 deletions

View file

@ -1,6 +1,6 @@
executable('test-mixer', 'test-mixer.c',
include_directories : inc,
dependencies : [dl_lib],
dependencies : [dl_lib, pthread_lib],
install : false)
executable('test-v4l2', 'test-v4l2.c',