mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
module-rtp: send journal feedback
Parse the journal and send feedback. Handle the NO and RS commands.
This commit is contained in:
parent
1276c946fd
commit
f841a0d3f1
7 changed files with 124 additions and 8 deletions
|
|
@ -58,17 +58,34 @@ struct rtp_midi_header {
|
|||
unsigned z:1;
|
||||
unsigned j:1;
|
||||
unsigned b:1;
|
||||
uint8_t len_b;
|
||||
#elif __BYTE_ORDER == __BIG_ENDIAN
|
||||
unsigned b:1;
|
||||
unsigned j:1;
|
||||
unsigned z:1;
|
||||
unsigned p:1;
|
||||
unsigned len:4;
|
||||
uint8_t len_b;
|
||||
#endif
|
||||
uint8_t len_b;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
struct rtp_midi_journal {
|
||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
unsigned totchan:4;
|
||||
unsigned H:1;
|
||||
unsigned A:1;
|
||||
unsigned Y:1;
|
||||
unsigned S:1;
|
||||
#elif __BYTE_ORDER == __BIG_ENDIAN
|
||||
unsigned S:1;
|
||||
unsigned Y:1;
|
||||
unsigned A:1;
|
||||
unsigned H:1;
|
||||
unsigned totchan:4;
|
||||
#endif
|
||||
uint16_t checkpoint_seqnum;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue