Skip to content
Snippets Groups Projects
Commit a3b5f704 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #6009 fixed warnings

parent e42876e8
No related branches found
No related tags found
No related merge requests found
...@@ -364,7 +364,7 @@ IAXVoIPLink::sendAudioFromMic (void) ...@@ -364,7 +364,7 @@ IAXVoIPLink::sendAudioFromMic (void)
nbSampleForRec_ = nbSample_; nbSampleForRec_ = nbSample_;
if (ac->getClockRate() && (ac->getClockRate() != _mainBufferSampleRate)) { if (ac->getClockRate() && ((int) ac->getClockRate() != _mainBufferSampleRate)) {
// resample // resample
nbSample_ = converter->downsampleData (micData , micDataConverted , (int) ac->getClockRate(), _mainBufferSampleRate, nbSample_); nbSample_ = converter->downsampleData (micData , micDataConverted , (int) ac->getClockRate(), _mainBufferSampleRate, nbSample_);
...@@ -705,7 +705,7 @@ IAXVoIPLink::sendTextMessage (sfl::InstantMessaging *module, ...@@ -705,7 +705,7 @@ IAXVoIPLink::sendTextMessage (sfl::InstantMessaging *module,
std::string std::string
IAXVoIPLink::getCurrentCodecName(const CallID& id) IAXVoIPLink::getCurrentCodecName(const CallID& /*id*/)
{ {
IAXCall *call = NULL; IAXCall *call = NULL;
AudioCodec *ac = NULL; AudioCodec *ac = NULL;
...@@ -1028,7 +1028,7 @@ IAXVoIPLink::iaxHandleVoiceEvent (iax_event* event, IAXCall* call) ...@@ -1028,7 +1028,7 @@ IAXVoIPLink::iaxHandleVoiceEvent (iax_event* event, IAXCall* call)
// test if resampling is required // test if resampling is required
if (ac->getClockRate() && (ac->getClockRate() != _mainBufferSampleRate)) { if (ac->getClockRate() && ((int) ac->getClockRate() != _mainBufferSampleRate)) {
// resample // resample
nbInt16 = converter->upsampleData (spkrDataDecoded, spkrDataConverted, ac->getClockRate(), _mainBufferSampleRate, nbSample_); nbInt16 = converter->upsampleData (spkrDataDecoded, spkrDataConverted, ac->getClockRate(), _mainBufferSampleRate, nbSample_);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment