pulse: only fixate when necessary

Check if the format is already fixated before doing a copy and fixate.
The copy can fail so we need to check this.
This commit is contained in:
Wim Taymans 2026-04-30 16:27:15 +02:00
parent b7aae374bf
commit dfc5fd86a7
2 changed files with 10 additions and 5 deletions

View file

@ -50,7 +50,6 @@ static void sample_play_ready_reply(void *data, struct client *client, uint32_t
message_put(reply,
TAG_U32, index,
TAG_INVALID);
client_queue_message(client, reply);
ps->replied = true;
}