Removed assert
This commit is contained in:
parent
20201ea3de
commit
0af842bed3
2
github
2
github
@ -1 +1 @@
|
||||
Subproject commit d12f51da4fc49f99d57c6525b47e949e692e6696
|
||||
Subproject commit b3e3903e67e8b0dff7d847a5a3690d49123ccf95
|
@ -502,7 +502,14 @@ void VoiceClient::event_execute(const std::chrono::system_clock::time_point &sch
|
||||
head = head->next;
|
||||
|
||||
audio_codec.last_packet_id = head->packet_id;
|
||||
assert(!audio_codec.pending_buffers || packet_id_less(audio_codec.last_packet_id, audio_codec.pending_buffers->packet_id, 10));
|
||||
const auto ordered = !audio_codec.pending_buffers || packet_id_less(audio_codec.last_packet_id, audio_codec.pending_buffers->packet_id, 10);
|
||||
if(!ordered) {
|
||||
log_critical(category::voice_connection, tr("Unordered packet ids. [!audio_codec.pending_buffers: {}; a: {}; b: {}]"),
|
||||
!audio_codec.pending_buffers,
|
||||
audio_codec.last_packet_id, audio_codec.pending_buffers->packet_id
|
||||
);
|
||||
//assert(!audio_codec.pending_buffers || packet_id_less(audio_codec.last_packet_id, audio_codec.pending_buffers->packet_id, 10));
|
||||
}
|
||||
}
|
||||
lock.unlock();
|
||||
while(replay_head) {
|
||||
|
Loading…
Reference in New Issue
Block a user