mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-18 07:00:06 -05:00
netjack2: add driver.mode again
This configures the default number of audio and midi ports per stream to 0 depending on the mode. Improve docs a little. See #4666
This commit is contained in:
parent
0ebf664515
commit
20246b5c0e
3 changed files with 55 additions and 4 deletions
|
|
@ -120,7 +120,7 @@ struct nj2_packet_header {
|
|||
uint32_t cycle; /* process cycle counter */
|
||||
uint32_t sub_cycle; /* midi/audio subcycle counter */
|
||||
int32_t frames; /* process cycle size in frames (can be -1 to indicate entire buffer) */
|
||||
uint32_t is_last; /* is it the last packet of a given cycle ('y' or 'n') */
|
||||
uint32_t is_last; /* is it the last packet of a given cycle (1=yes or 0=no) */
|
||||
} __attribute__ ((packed));
|
||||
|
||||
#define UDP_HEADER_SIZE 64 /* 40 bytes for IP header in IPV6, 20 in IPV4, 8 for UDP, so take 64 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue