module-raop: use the right socket to read from

See #2183
This commit is contained in:
Wim Taymans 2022-03-02 11:24:40 +01:00
parent e7958fac1b
commit 00d4de3799

View file

@ -609,7 +609,7 @@ on_control_source_io(void *data, int fd, uint32_t mask)
uint32_t hdr; uint32_t hdr;
uint16_t seq, num; uint16_t seq, num;
bytes = read(impl->timing_fd, packet, sizeof(packet)); bytes = read(impl->control_fd, packet, sizeof(packet));
if (bytes != sizeof(packet)) { if (bytes != sizeof(packet)) {
pw_log_warn("discarding short (%zd < %zd) control packet", pw_log_warn("discarding short (%zd < %zd) control packet",
bytes, sizeof(bytes)); bytes, sizeof(bytes));