printf to log

This commit is contained in:
ouwou
2023-05-29 01:20:41 -04:00
parent 1f765e1ddf
commit 7da37a2fa9

View File

@@ -58,7 +58,7 @@ Abaddon::Abaddon()
m_discord.signal_voice_connected().connect(sigc::mem_fun(*this, &Abaddon::OnVoiceConnected));
m_discord.signal_voice_disconnected().connect(sigc::mem_fun(*this, &Abaddon::OnVoiceDisconnected));
m_discord.signal_voice_speaking().connect([this](const VoiceSpeakingData &m) {
printf("%llu has ssrc %u\n", (uint64_t)m.UserID, m.SSRC);
spdlog::get("voice")->debug("{} SSRC: {}", m.UserID, m.SSRC);
m_audio->AddSSRC(m.SSRC);
});
#endif