Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 3e1ac411 authored by Jonah Brüchert's avatar Jonah Brüchert 🌳 Committed by Linus Jahn

MediaRecorder: Remove audioInputDevice.isNull() assert

We don't want Kaidan to crash if someone does not have a microphone
Signed-off-by: Linus Jahn's avatarLinus Jahn <lnj@kaidan.im>
parent a4684e3d
Pipeline #13479 passed with stages
in 40 minutes and 45 seconds
......@@ -1077,7 +1077,6 @@ void MediaRecorder::setupCapturer()
void MediaRecorder::setupAudioRecorder()
{
Q_ASSERT(!m_mediaSettings.audioInputDevice.isNull());
m_audioRecorder = new QAudioRecorder(this);
m_audioRecorder->setAudioInput(m_mediaSettings.audioInputDevice.deviceName());
m_audioRecorder->setContainerFormat(m_mediaSettings.container);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment