- Timestamp:
- Dec 10, 2010 11:04:30 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/pjsip-apps/src/samples/resampleplay.c
r2408 r3392 130 130 131 131 /* File must have same number of channels. */ 132 if ( file_port->info.channel_count!= (unsigned)channel_count) {132 if (PJMEDIA_PIA_CCNT(&file_port->info) != (unsigned)channel_count) { 133 133 PJ_LOG(3,(THIS_FILE, "Error: file has different number of channels. " 134 134 "Perhaps you'd need -c option?")); … … 187 187 188 188 printf("Playing %s at sampling rate %d (original file sampling rate=%d)\n", 189 argv[pj_optind], sampling_rate, file_port->info.clock_rate); 189 argv[pj_optind], sampling_rate, 190 PJMEDIA_PIA_SRATE(&file_port->info)); 190 191 puts(""); 191 192 puts("Press <ENTER> to stop playing and quit");
Note: See TracChangeset
for help on using the changeset viewer.