[pulseaudio-discuss] [PATCH 2/2] context: add cookie loaders + setter

Alexander Couzens lynxis at fe80.eu
Tue Aug 20 21:53:42 PDT 2013


> We need to expose the cookie size to clients somehow. A simple #define
> should be good enough. The problem with a #define in the public API is
> that it can't be changed without breaking compatibility, but I don't
> think we can change the cookie size anyway without breaking
> compatibility between old server and new libpulse or vice versa.
> 
I would add this to pulse/def.h and replace the old macro PA_NATIVE_COOKIE_LENGTH.
+/** Cookie length in bytes. \since 5.0 */
+#define PA_COOKIE_LENGTH 256
+
-- 
Alexander Couzens

mail: lynxis at fe80.eu
sip/jabber: lynxis at c-base.org
mobile: +4915123277221


More information about the pulseaudio-discuss mailing list