- Timestamp:
- Mar 17, 2006 6:00:19 PM (19 years ago)
- Location:
- pjproject/trunk/pjmedia
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia.h
r318 r327 41 41 #include <pjmedia/session.h> 42 42 #include <pjmedia/sound.h> 43 #include <pjmedia/sound_port.h> 43 44 #include <pjmedia/wave.h> 44 45 -
pjproject/trunk/pjmedia/src/pjmedia/stream.c
r322 r327 703 703 704 704 /* Set additional info. */ 705 stream->port.info.bits_per_sample = 0;705 stream->port.info.bits_per_sample = 16; 706 706 stream->port.info.samples_per_frame = info->fmt.sample_rate*codec_param.ptime/1000; 707 707 stream->port.info.bytes_per_frame = codec_param.avg_bps/8 * codec_param.ptime/1000;
Note: See TracChangeset
for help on using the changeset viewer.