mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
connection: add test and fix a bug
Add a unit test for the connection When we consumed all packets in a buffer, try to get more data instead of failing right away.
This commit is contained in:
parent
ca051282a4
commit
a3e4726ea6
3 changed files with 157 additions and 5 deletions
|
|
@ -73,6 +73,15 @@ pipewire_module_protocol_native = shared_library('pipewire-module-protocol-nativ
|
|||
dependencies : pipewire_module_protocol_native_deps,
|
||||
)
|
||||
|
||||
test('pw-test-protocol-native',
|
||||
executable('pw-test-protocol-native',
|
||||
[ 'module-protocol-native/test-connection.c',
|
||||
'module-protocol-native/connection.c' ],
|
||||
c_args : libpipewire_c_args,
|
||||
include_directories : [configinc, spa_inc ],
|
||||
dependencies : [pipewire_dep],
|
||||
install : false))
|
||||
|
||||
pipewire_module_audio_dsp = shared_library('pipewire-module-audio-dsp',
|
||||
[ 'module-audio-dsp.c',
|
||||
'module-audio-dsp/audio-dsp.c',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue