Revert "global: don't reuse ids"

This reverts commit bae0d16e09.
This commit is contained in:
Wim Taymans 2022-01-14 20:03:14 +01:00
parent 5135f9767a
commit b1fb4a2660
18 changed files with 77 additions and 19 deletions

View file

@ -304,6 +304,8 @@ int endpoint_stream_init(struct endpoint_stream *this,
pw_properties_setf(this->props, PW_KEY_OBJECT_ID, "%u",
pw_global_get_id(this->global));
pw_properties_setf(this->props, PW_KEY_OBJECT_SERIAL, "%"PRIu64,
pw_global_get_serial(this->global));
this->info.version = PW_VERSION_ENDPOINT_STREAM_INFO;
this->info.id = pw_global_get_id(this->global);