Changeset 785 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
- Timestamp:
- Oct 20, 2006 11:08:49 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r783 r785 797 797 */ 798 798 PJ_DEF(pj_status_t) pjsua_recorder_create( const pj_str_t *filename, 799 unsigned file_format,800 const pj_str_t *encoding,799 unsigned enc_type, 800 void *enc_param, 801 801 pj_ssize_t max_size, 802 802 unsigned options, … … 812 812 char path[128]; 813 813 pj_str_t ext; 814 int file_format; 814 815 pjmedia_port *port; 815 816 pj_status_t status; … … 821 822 PJ_ASSERT_RETURN(max_size == 0 || max_size == -1, PJ_EINVAL); 822 823 823 /* Don't support file format at present */ 824 PJ_ASSERT_RETURN(file_format == 0, PJ_EINVAL); 825 826 /* Don't support encoding at present */ 827 PJ_ASSERT_RETURN(encoding == NULL, PJ_EINVAL); 824 /* Don't support encoding type at present */ 825 PJ_ASSERT_RETURN(enc_type == 0, PJ_EINVAL); 828 826 829 827 if (pjsua_var.rec_cnt >= PJ_ARRAY_SIZE(pjsua_var.recorder)) … … 875 873 pjsua_var.mconf_cfg.samples_per_frame, 876 874 pjsua_var.mconf_cfg.bits_per_sample, 877 NULL, &port);875 enc_param, &port); 878 876 } else { 879 877 port = NULL;
Note: See TracChangeset
for help on using the changeset viewer.