- Timestamp:
- Jun 2, 2009 6:01:49 PM (15 years ago)
- Location:
- pjproject/trunk/pjmedia/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-codec/g722.c
r2394 r2735 579 579 580 580 output->type = PJMEDIA_FRAME_TYPE_AUDIO; 581 output->timestamp = input->timestamp; 581 582 582 583 TRACE_((THIS_FILE, "G722 encode(): size=%d", output->size)); … … 625 626 output->size = SAMPLES_PER_FRAME * 2; 626 627 output->type = PJMEDIA_FRAME_TYPE_AUDIO; 628 output->timestamp = input->timestamp; 627 629 628 630 #if !PLC_DISABLED -
pjproject/trunk/pjmedia/src/pjmedia-codec/g7221.c
r2620 r2735 824 824 output->type = PJMEDIA_FRAME_TYPE_AUDIO; 825 825 output->size = codec_data->frame_size; 826 output->timestamp = input->timestamp; 826 827 827 828 return PJ_SUCCESS; … … 863 864 bitobj.code_bit_count = 0; 864 865 bitobj.number_of_bits_left = codec_data->frame_size_bits; 866 867 output->timestamp = input->timestamp; 865 868 } else { 866 869 pj_bzero(&bitobj, sizeof(bitobj)); -
pjproject/trunk/pjmedia/src/pjmedia-codec/gsm.c
r2394 r2735 567 567 568 568 output->type = PJMEDIA_FRAME_TYPE_AUDIO; 569 output->timestamp = input->timestamp; 569 570 570 571 return PJ_SUCCESS; … … 596 597 output->size = 320; 597 598 output->type = PJMEDIA_FRAME_TYPE_AUDIO; 599 output->timestamp = input->timestamp; 598 600 599 601 #if !PLC_DISABLED -
pjproject/trunk/pjmedia/src/pjmedia-codec/l16.c
r2563 r2735 657 657 output->type = PJMEDIA_FRAME_TYPE_AUDIO; 658 658 output->size = input->size; 659 output->timestamp = input->timestamp; 659 660 660 661 return PJ_SUCCESS; … … 691 692 output->type = PJMEDIA_FRAME_TYPE_AUDIO; 692 693 output->size = input->size; 694 output->timestamp = input->timestamp; 693 695 694 696 #if !PLC_DISABLED -
pjproject/trunk/pjmedia/src/pjmedia-codec/passthrough.c
r2506 r2735 781 781 } 782 782 783 output->timestamp = input->timestamp; 784 783 785 return PJ_SUCCESS; 784 786 } … … 816 818 (pj_uint16_t)(input_.size << 3), 817 819 (pj_uint16_t)desc->samples_per_frame); 820 output->timestamp = input->timestamp; 818 821 819 822 return PJ_SUCCESS; … … 824 827 (pj_uint16_t)(input->size << 3), 825 828 (pj_uint16_t)desc->samples_per_frame); 829 output->timestamp = input->timestamp; 826 830 827 831 return PJ_SUCCESS; -
pjproject/trunk/pjmedia/src/pjmedia/g711.c
r2394 r2735 540 540 output->type = PJMEDIA_FRAME_TYPE_AUDIO; 541 541 output->size = (input->size >> 1); 542 output->timestamp = input->timestamp; 542 543 543 544 return PJ_SUCCESS; … … 583 584 output->type = PJMEDIA_FRAME_TYPE_AUDIO; 584 585 output->size = (input->size << 1); 586 output->timestamp = input->timestamp; 585 587 586 588 #if !PLC_DISABLED
Note: See TracChangeset
for help on using the changeset viewer.