mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 12:07:06 +00:00
if space
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15893 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
376861fd8c
commit
21e3bb970a
24 files changed
+167
-167
No files matched your search
@@ -3098,7 +3098,7 @@ struct iax_event *iax_get_event(int blocking) {
|
||||
ret = jb_get(cur->jb, &frame, now, get_interp_len(cur->voiceformat));
|
||||
switch (ret) {
|
||||
case JB_OK:
|
||||
// if(frame.type == JB_TYPE_VOICE && next + 20 != jb_next(cur->jb)) fprintf(stderr, "NEXT %ld is not %ld+20!\n", jb_next(cur->jb), next);
|
||||
// if (frame.type == JB_TYPE_VOICE && next + 20 != jb_next(cur->jb)) fprintf(stderr, "NEXT %ld is not %ld+20!\n", jb_next(cur->jb), next);
|
||||
event = frame.data;
|
||||
event = handle_event(event);
|
||||
if (event) {
|
||||
@@ -3107,7 +3107,7 @@ struct iax_event *iax_get_event(int blocking) {
|
||||
}
|
||||
break;
|
||||
case JB_INTERP:
|
||||
// if(next + 20 != jb_next(cur->jb)) fprintf(stderr, "NEXT %ld is not %ld+20!\n", jb_next(cur->jb), next);
|
||||
// if (next + 20 != jb_next(cur->jb)) fprintf(stderr, "NEXT %ld is not %ld+20!\n", jb_next(cur->jb), next);
|
||||
/* create an interpolation frame */
|
||||
//fprintf(stderr, "Making Interpolation frame\n");
|
||||
event = (struct iax_event *) malloc(sizeof(struct iax_event));
|
||||
@@ -3125,7 +3125,7 @@ struct iax_event *iax_get_event(int blocking) {
|
||||
}
|
||||
break;
|
||||
case JB_DROP:
|
||||
// if(next != jb_next(cur->jb)) fprintf(stderr, "NEXT %ld is not next %ld!\n", jb_next(cur->jb), next);
|
||||
// if (next != jb_next(cur->jb)) fprintf(stderr, "NEXT %ld is not next %ld!\n", jb_next(cur->jb), next);
|
||||
iax_event_free(frame.data);
|
||||
break;
|
||||
case JB_NOFRAME:
|
||||
|
||||
Reference in new issue
Block a user