From a53456a95969fe64e907bc7a5abcf4f1dcdce0ba Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Fri, 17 Mar 2006 18:00:19 +0000 Subject: Fixed bug in stream.c where bits_per_sample is not set properly git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@327 74dad513-b988-da41-8d7b-12977e46ad98 --- pjmedia/src/pjmedia/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pjmedia/src') diff --git a/pjmedia/src/pjmedia/stream.c b/pjmedia/src/pjmedia/stream.c index 128c990b..671e7e59 100644 --- a/pjmedia/src/pjmedia/stream.c +++ b/pjmedia/src/pjmedia/stream.c @@ -702,7 +702,7 @@ PJ_DEF(pj_status_t) pjmedia_stream_create( pjmedia_endpt *endpt, goto err_cleanup; /* Set additional info. */ - stream->port.info.bits_per_sample = 0; + stream->port.info.bits_per_sample = 16; stream->port.info.samples_per_frame = info->fmt.sample_rate*codec_param.ptime/1000; stream->port.info.bytes_per_frame = codec_param.avg_bps/8 * codec_param.ptime/1000; -- cgit v1.2.3