Skip to content

Commit

Permalink
Fix sound and baby cry not multiplexed
Browse files Browse the repository at this point in the history
  • Loading branch information
roleoroleo committed Oct 7, 2022
1 parent 38079aa commit 192f3cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ipc_cmd/ipc_cmd/ipc_multiplex.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ ssize_t mq_receive(mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned int *msg
}

// Filter out messages not targeted at the ipc_dispatch queue.
if (get_message_target(msg_ptr) != MESSAGE_ID_IPC_DISPATCH) {
return bytes_read;
}
// if (get_message_target(msg_ptr) != MESSAGE_ID_IPC_DISPATCH) {
// return bytes_read;
// }

// Resend the received message to the dispatch queues
for (int i = 1; i < 10; i++) {
Expand Down

0 comments on commit 192f3cd

Please sign in to comment.