Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72f6aea5 authored by Andreas Huber's avatar Andreas Huber
Browse files

Less verbose logging, lots of references.

Change-Id: Idcb76848883b113e956d7e6266da882771a053b8
parent 7977e85f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -428,8 +428,10 @@ status_t ANetworkSession::Session::writeMore() {
    status_t err = OK;

    if (n > 0) {
#if 0
        ALOGI("out:");
        hexdump(mOutBuffer.c_str(), n);
#endif

        mOutBuffer.erase(0, n);
    } else if (n < 0) {
+2 −2
Original line number Diff line number Diff line
@@ -637,8 +637,8 @@ status_t WifiDisplaySource::PlaybackSession::setupPacketizer() {
    CHECK(service != NULL);

    // Add one reference to account for the serializer.
    // Add another one for unknown reasons.
    err = source->setMaxAcquiredBufferCount(numInputBuffers + 2);
    // Add another two for unknown reasons.
    err = source->setMaxAcquiredBufferCount(31 /* numInputBuffers + 1 */);
    CHECK_EQ(err, (status_t)OK);

    mBufferQueue = source->getBufferQueue();
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
 * limitations under the License.
 */

#define LOG_NDEBUG 0
//#define LOG_NDEBUG 0
#define LOG_TAG "WifiDisplaySource"
#include <utils/Log.h>