Skip to content

Commit

Permalink
Merge pull request #182 from TheMorc/TheMorc-patch-audio2
Browse files Browse the repository at this point in the history
Fix UDPSocket::ReadThread on macOS
  • Loading branch information
ouwou committed Jun 24, 2023
2 parents 11b6798 + 5467b61 commit ed1f54d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/discord/voiceclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ void UDPSocket::ReadThread() {
sockaddr_in from;
socklen_t addrlen = sizeof(from);

tv.tv_sec = 0;
tv.tv_usec = 1000000;
tv.tv_sec = 1;
tv.tv_usec = 0;

fd_set read_fds;
FD_ZERO(&read_fds);
Expand Down

0 comments on commit ed1f54d

Please sign in to comment.