mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-15 08:56:38 -05:00
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:
parent
ac59fa9371
commit
5fa334a89b
10 changed files with 313 additions and 202 deletions
|
|
@ -4,8 +4,11 @@ alsa_dep = dependency('alsa')
|
|||
v4l2_dep = dependency('libv4l2')
|
||||
xv_dep = dependency('x11')
|
||||
sdl_dep = dependency('sdl2')
|
||||
dl_lib = find_library('dl', required : true)
|
||||
pthread_lib = find_library('pthread', required : true)
|
||||
|
||||
cc = meson.get_compiler('c')
|
||||
|
||||
dl_lib = cc.find_library('dl', required : true)
|
||||
pthread_lib = cc.find_library('pthread', required : true)
|
||||
|
||||
inc = include_directories('include')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue