]> code.delx.au - pulseaudio/blobdiff - src/pulsecore/packet.h
remap: Change remapping function argument type from void to int16_t / float as approp...
[pulseaudio] / src / pulsecore / packet.h
index 842582c8668936355f50ff65e6c89c6b1b3666ab..5989b1fa8463e0c6ad27daf88b76aa8fa33273ba 100644 (file)
@@ -1,8 +1,6 @@
 #ifndef foopackethfoo
 #define foopackethfoo
 
-/* $Id$ */
-
 /***
   This file is part of PulseAudio.
 
 #include <sys/types.h>
 #include <inttypes.h>
 
+#include <pulsecore/refcnt.h>
+
 typedef struct pa_packet {
+    PA_REFCNT_DECLARE;
     enum { PA_PACKET_APPENDED, PA_PACKET_DYNAMIC } type;
-    unsigned ref;
     size_t length;
     uint8_t *data;
 } pa_packet;