From 2bc77ff49aa06eb87645d493cb345a41bab69b19 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 15 May 2008 18:00:31 +0000 Subject: reduce number of allocated memblocks when receiving RTP data by reusing blocks git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2429 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/modules/rtp/rtp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/modules/rtp/rtp.h') diff --git a/src/modules/rtp/rtp.h b/src/modules/rtp/rtp.h index ad7175ca..a366d7a6 100644 --- a/src/modules/rtp/rtp.h +++ b/src/modules/rtp/rtp.h @@ -37,6 +37,8 @@ typedef struct pa_rtp_context { uint32_t ssrc; uint8_t payload; size_t frame_size; + + pa_memchunk memchunk; } pa_rtp_context; pa_rtp_context* pa_rtp_context_init_send(pa_rtp_context *c, int fd, uint32_t ssrc, uint8_t payload, size_t frame_size); -- cgit