skypiax: ooops, forgot to 'demote' debug output

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16868 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Giovanni Maruzzelli 2010-03-02 20:40:07 +00:00
parent d82d868ffe
commit 87f46f0e88
2 changed files with 3 additions and 3 deletions

View File

@ -701,7 +701,7 @@ read:
try++;
if(try < 5)
goto read;
NOTICA("skypiax_audio_read Silence\n", SKYPIAX_P_LOG);
DEBUGA_SKYPE("skypiax_audio_read Silence\n", SKYPIAX_P_LOG);
memset(tech_pvt->read_frame.data, 255, SAMPLES_PER_FRAME * sizeof(short));
tech_pvt->read_frame.datalen = 640;
@ -822,7 +822,7 @@ static switch_status_t channel_write_frame(switch_core_session_t *session, switc
switch_mutex_lock(tech_pvt->mutex_audio_cli);
if (switch_buffer_freespace(tech_pvt->write_buffer) < frame->datalen) {
WARNINGA("NO SPACE WRITE: %d\n", SKYPIAX_P_LOG, frame->datalen);
DEBUGA_SKYPE("NO SPACE WRITE: %d\n", SKYPIAX_P_LOG, frame->datalen);
//switch_buffer_toss(tech_pvt->write_buffer, frame->datalen);
switch_buffer_zero(tech_pvt->write_buffer);
}

View File

@ -851,7 +851,7 @@ void *skypiax_do_tcp_srv_thread_func(void *obj)
switch_buffer_write(tech_pvt->read_buffer, srv_in, len);
switch_mutex_unlock(tech_pvt->mutex_audio_srv);
if (nospace) {
WARNINGA("NO SPACE READ: there was no space for: %d\n", SKYPIAX_P_LOG, len);
DEBUGA_SKYPE("NO SPACE READ: there was no space for: %d\n", SKYPIAX_P_LOG, len);
}
} else if (len == 0) {
DEBUGA_SKYPE("CLOSED\n", SKYPIAX_P_LOG);