Wim Taymans
f44d55f6c2
handle read from timerfd correctly
...
When reading the timerfd gives an error, we should return right away
because the timeout did not happen.
If we change the timerfd timeout before reading it, we can get -EAGAIN.
Don't log an error in that case but wait for the new timeout.
2022-12-09 17:30:31 +01:00
Wim Taymans
74447acedb
Add some more format checks
...
The format parse functions don't really check if the parsed values
make any sense so we need to to this ourselves.
2022-11-03 13:10:32 +01:00
Demi Marie Obenour
c1920163d5
Fix calls to sendmsg()
...
Align cmsg buffers properly and use MSG_NOSIGNAL.
2022-09-23 16:33:36 +00:00
Wim Taymans
af4875eb47
avb: remove libavtp dependency
2022-07-12 12:27:21 +02:00
Wim Taymans
c79fddf007
avb: handle xruns better
...
Don't stop early, fill gaps with silence.
2022-07-12 12:27:21 +02:00
Wim Taymans
87053365ea
avb: handle sink follower
...
We need to flush out the packets when we are a follower and when we get
data because our timer is not running as a sink.
2022-07-12 12:27:21 +02:00
Wim Taymans
4d6c71bf12
avb: use iovec to read from ringbuffer
2022-07-12 12:27:21 +02:00
Wim Taymans
5c3629a165
avb: add follower mode
...
As a follower we disable our own timer and produce a buffer from what we
have when _process is called.
2022-07-12 12:27:21 +02:00
Wim Taymans
ff5201ef3d
avb: check seq
...
Avoid infinite loops.
Check sequence number and warn
Use 32 frames per pdu in example.
2022-07-12 12:27:21 +02:00
Wim Taymans
200f591a3d
avb: add source
2022-07-12 12:27:21 +02:00
Wim Taymans
552a0056b5
avb: more work
...
Handle properties.
Fix format negotiation.
Wait in underrun.
2022-07-12 12:27:21 +02:00
Wim Taymans
537a38355a
avb: more work
2022-07-12 12:27:21 +02:00
Wim Taymans
f95b8263e6
avb: more improvements
2022-07-12 12:27:21 +02:00
Wim Taymans
1adc94df11
start of AVB support
2022-07-12 12:27:21 +02:00