diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2010-08-24 10:45:01 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2010-08-24 10:45:01 +0000 |
commit | 5d4c8098b1eab32df4f5e0fcdc6b539e79419987 (patch) | |
tree | 44cff8419bd9de28c748f04e4a30e2aad03ee3f1 /pjmedia/include | |
parent | 69849ceb5944172abcc0cef976fc21ebe07ab5e1 (diff) |
Fix #1114:
- Fixed bytes_per_frame calculation in stream port.
- Fixed sample streamutil.c to use codec info/param for codec bandwidth calculation (was using bytes_per_frame info of stream port).
- Doc fix for bytes_per_frame field in pjmedia_port_info.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3292 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include')
-rw-r--r-- | pjmedia/include/pjmedia/port.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjmedia/include/pjmedia/port.h b/pjmedia/include/pjmedia/port.h index 447c429d..ccfff18d 100644 --- a/pjmedia/include/pjmedia/port.h +++ b/pjmedia/include/pjmedia/port.h @@ -218,7 +218,7 @@ typedef struct pjmedia_port_info unsigned channel_count; /**< Number of channels. */ unsigned bits_per_sample; /**< Bits/sample */ unsigned samples_per_frame; /**< No of samples per frame. */ - unsigned bytes_per_frame; /**< No of samples per frame. */ + unsigned bytes_per_frame; /**< No of bytes per frame. */ } pjmedia_port_info; |