- Timestamp:
- Dec 20, 2011 10:01:35 AM (13 years ago)
- Location:
- pjproject/trunk/pjmedia/src/pjmedia
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/stream.c
r3890 r3917 2090 2090 if (stream->codec_param.info.fmt_id == PJMEDIA_FORMAT_L16) { 2091 2091 /* Raw format */ 2092 afd->avg_bps = afd->max_bps = afd->clock_rate * 2093 afd->bits_per_sample / 8; 2094 2092 afd->avg_bps = afd->max_bps = afd->clock_rate * afd->channel_count * 2093 afd->bits_per_sample; 2095 2094 2096 2095 stream->port.put_frame = &put_frame; -
pjproject/trunk/pjmedia/src/pjmedia/wav_playlist.c
r3664 r3917 476 476 afd->avg_bps = afd->max_bps = afd->clock_rate * 477 477 afd->channel_count * 478 afd->bits_per_sample / 8;478 afd->bits_per_sample; 479 479 480 480 has_wave_info = PJ_TRUE;
Note: See TracChangeset
for help on using the changeset viewer.