mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-17 06:59:56 -05:00
raop: Correctly wrap RTP packet sequence number
This commit is contained in:
parent
3de65e61e4
commit
516906aef9
3 changed files with 65 additions and 37 deletions
|
|
@ -33,7 +33,8 @@ pa_raop_packet_buffer *pa_raop_packet_buffer_new(pa_mempool *mempool, const size
|
|||
void pa_raop_packet_buffer_free(pa_raop_packet_buffer *pb);
|
||||
|
||||
void pa_raop_packet_buffer_reset(pa_raop_packet_buffer *pb, uint16_t seq);
|
||||
pa_memchunk *pa_raop_packet_buffer_get(pa_raop_packet_buffer *pb, uint16_t seq, const size_t size);
|
||||
|
||||
uint16_t pa_raop_packet_buffer_wrap_seq(pa_raop_packet_buffer *pb, uint16_t seq);
|
||||
pa_memchunk *pa_raop_packet_buffer_prepare(pa_raop_packet_buffer *pb, uint16_t seq, const size_t size);
|
||||
pa_memchunk *pa_raop_packet_buffer_retrieve(pa_raop_packet_buffer *pb, uint16_t seq);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue