- minor improvements

This commit is contained in:
2020-10-30 12:52:42 +02:00
parent 55a31060ec
commit cc5b704997
4 changed files with 12 additions and 6 deletions

View File

@@ -554,7 +554,6 @@ void AgentImpl::processGetMediaStats(Json::Value& request, Json::Value& answer)
#if defined(USE_AQUA_LIBRARY)
if (includeAqua)
{
// Send recorded audio to upper level
answer["incoming_audio"] = mAquaIncoming.hexstring();
ICELogInfo(<< "Running AQuA analyzer.");

View File

@@ -246,7 +246,7 @@ unsigned WavFileReader::size() const
#define BITS_PER_CHANNEL 16
WavFileWriter::WavFileWriter()
:mHandle(nullptr), mLengthOffset(0), mRate(AUDIO_SAMPLERATE), mChannels(1)
:mHandle(nullptr), mLengthOffset(0), mRate(AUDIO_SAMPLERATE), mChannels(1), mWritten(0)
{
}