Home
last modified time | relevance | path

Searched refs:ESD_KEY_LEN (Results 1 – 3 of 3) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Desound.h35 #define ESD_KEY_LEN (16) macro
Dprotocol-esound.c172 { ESD_KEY_LEN + sizeof(int), esd_proto_connect, "connect" },
173 { ESD_KEY_LEN + sizeof(int), NULL, "lock" },
174 { ESD_KEY_LEN + sizeof(int), NULL, "unlock" },
187 { ESD_KEY_LEN + sizeof(int), esd_proto_standby_or_resume, "standby" },
188 …{ ESD_KEY_LEN + sizeof(int), esd_proto_standby_or_resume, "resume" }, /…
341 pa_assert(length == (ESD_KEY_LEN + sizeof(uint32_t))); in esd_proto_connect()
346 if ((key = pa_auth_cookie_read(c->options->auth_cookie, ESD_KEY_LEN))) in esd_proto_connect()
347 if (memcmp(data, key, ESD_KEY_LEN) == 0) in esd_proto_connect()
361 data = (const char*)data + ESD_KEY_LEN; in esd_proto_connect()
1719 o->auth_cookie = pa_auth_cookie_get(c, cn, true, ESD_KEY_LEN); in pa_esound_options_parse()
/third_party/pulseaudio/src/modules/
Dmodule-esound-sink.c645 u->write_data = pa_xmalloc(u->write_length = ESD_KEY_LEN + sizeof(int32_t)); in pa__init()
647 r = pa_authkey_load(cookie_path, true, u->write_data, ESD_KEY_LEN); in pa__init()
655 memcpy((uint8_t*) u->write_data + ESD_KEY_LEN, &key, sizeof(key)); in pa__init()