Changeset 5066 for pjproject/trunk/tests/pjsua/tools/cmp_wav.c
- Timestamp:
- Apr 13, 2015 12:16:47 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/tests/pjsua/tools/cmp_wav.c
r3553 r5066 148 148 } 149 149 150 if (file_ori_port->info.clock_rate != file_deg_port->info.clock_rate) { 150 if (file_ori_port->info.fmt.det.aud.clock_rate != 151 file_deg_port->info.fmt.det.aud.clock_rate) 152 { 151 153 app_perror(THIS_FILE, "Clock rates must be same.", PJ_EINVAL); 152 154 return 1; … … 154 156 155 157 if (argc > 3) 156 first_nsamples = atoi(argv[3]) * file_ori_port->info.clock_rate / 1000; 158 first_nsamples = atoi(argv[3]) * 159 file_ori_port->info.fmt.det.aud.clock_rate / 1000; 157 160 158 161 if (argc > 4)
Note: See TracChangeset
for help on using the changeset viewer.