diff --git a/src/iaxvoiplink.cpp b/src/iaxvoiplink.cpp index 170fdafa7a2be102be3ceb44617fcef58a3e9008..6232fea44375923044df695d3c6c84df6fc68cf9 100644 --- a/src/iaxvoiplink.cpp +++ b/src/iaxvoiplink.cpp @@ -268,7 +268,7 @@ IAXVoIPLink::sendAudioFromMic(void) // take the lowest int bytesAvail = (availBytesFromMic < maxBytesToGet) ? availBytesFromMic : maxBytesToGet; - _debug("available = %d, maxBytesToGet = %d\n", availBytesFromMic, maxBytesToGet); + //_debug("available = %d, maxBytesToGet = %d\n", availBytesFromMic, maxBytesToGet); // Get bytes from micRingBuffer to data_from_mic int nbSample = audiolayer->getMic(_dataAudioLayer, bytesAvail) / sizeof(SFLDataFormat); diff --git a/src/managerimpl.cpp b/src/managerimpl.cpp index 881cfd473c69e4b9026dcc2b92183953a7c13fb9..a1898bc1862cd5363aac5ed384d8553d883e480b 100644 --- a/src/managerimpl.cpp +++ b/src/managerimpl.cpp @@ -69,7 +69,7 @@ ManagerImpl::ManagerImpl (void) _dbus = NULL; // sound - _audiodriver = 0; + _audiodriver = NULL; _dtmfKey = 0; _spkr_volume = 0; // Initialize after by init() -> initVolume() _mic_volume = 0; // Initialize after by init() -> initVolume() diff --git a/www/index.php b/www/index.php index a8422e0f178a7dd8bb9d42fff8a5f27daac18db0..e476c00c44e0ec85f0359fc964e7a362aab68997 100644 --- a/www/index.php +++ b/www/index.php @@ -30,7 +30,6 @@ if (defined($_REQUEST['i'])) { } - $module = ''; // Default module: home if (!$_REQUEST['mod']) {