From da1109b4613be75f7bcc725b6609b09bc880a4e1 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Sat, 30 May 2009 13:14:56 +0000 Subject: [PATCH] *** empty log message *** --- audiomvp.cc | 2 ++ tcp.cc | 2 ++ 2 files changed, 4 insertions(+) diff --git a/audiomvp.cc b/audiomvp.cc index 107f128..8e6034d 100644 --- a/audiomvp.cc +++ b/audiomvp.cc @@ -169,7 +169,9 @@ int AudioMVP::reset() { if (!initted) return 0; //test(); + Log::getInstance()->log("Audio", Log::DEBUG, "reset called"); if (ioctl(fdAudio, AV_SET_AUD_RESET, 0x11) != 0) return 0; + Log::getInstance()->log("Audio", Log::DEBUG, "reset back"); if (ioctl(fdAudio, AV_SET_AUD_PLAY, 0) != 0) return 0; doMuting(); diff --git a/tcp.cc b/tcp.cc index 10a574a..753bed3 100644 --- a/tcp.cc +++ b/tcp.cc @@ -290,7 +290,9 @@ int TCP::readData(UCHAR* buffer, int totalBytes) FD_SET(sock, &readSet); timeout.tv_sec = 2; timeout.tv_usec = 0; + Log::getInstance()->log("TCP", Log::DEBUG, "Going to select"); success = select(sock + 1, &readSet, NULL, NULL, passToSelect); + Log::getInstance()->log("TCP", Log::DEBUG, "Back from select with success = %i", success); if (success < 1) { return 0; // error, or timeout -- 2.39.5