mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 14:44:01 +00:00
Fix string using
This commit is contained in:
parent
6d06aa102b
commit
d95add4f1a
1 changed files with 4 additions and 2 deletions
|
|
@ -25,6 +25,8 @@
|
|||
#include "components/core/CoreManager.hpp"
|
||||
#include "MediastreamerUtils.hpp"
|
||||
|
||||
#include <qlogging.h>
|
||||
|
||||
using namespace MediastreamerUtils;
|
||||
|
||||
SimpleCaptureGraph::SimpleCaptureGraph(const std::string &capture, const std::string &playback)
|
||||
|
|
@ -35,10 +37,10 @@ SimpleCaptureGraph::SimpleCaptureGraph(const std::string &capture, const std::st
|
|||
|
||||
playbackCard = ms_snd_card_manager_get_card(ms_factory_get_snd_card_manager(msFactory), playbackCardId.c_str());
|
||||
if (!playbackCard)
|
||||
qWarning("Cannot get playback card from MSFactory with : " +QString::fromStdString(playbackCardId));
|
||||
qWarning("Cannot get playback card from MSFactory with : %s", playbackCardId.c_str());
|
||||
captureCard = ms_snd_card_manager_get_card(ms_factory_get_snd_card_manager(msFactory), captureCardId.c_str());
|
||||
if (!captureCard)
|
||||
qWarning("Cannot get capture card from MSFactory with : " +QString::fromStdString(captureCardId));
|
||||
qWarning("Cannot get capture card from MSFactory with : %s", captureCardId.c_str());
|
||||
|
||||
if(playbackCard && captureCard)// Assure to initialize when playback and capture are available
|
||||
init();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue