remove debug messages

This commit is contained in:
Anthony Ilersich 2022-12-12 13:55:41 -05:00
parent 9abbda10ac
commit 587d37562f

View file

@ -1117,14 +1117,12 @@ static const struct spa_node_methods impl_node = {
static void session_event_info (void *data, const struct pw_session_info *info)
{
struct pw_stream *stream = data;
pw_log_error("%p: stream has received session info", stream);
const char *services = spa_dict_lookup(info->props, PW_KEY_SESSION_SERVICES);
if (services == NULL || spa_streq(services, PW_SESSION_SERVICE_NONE)) {
return;
}
// some services are available, so the stream can now be considered
// connected, although more services may become available after this
pw_log_error("%p: stream has received services: %s", stream, services); // TODO: switch to _debug after testing
if (stream->state == PW_STREAM_STATE_CONNECTING) {
stream_set_state(stream, PW_STREAM_STATE_PAUSED, NULL);
}