Changeset 5791
- Timestamp:
- May 14, 2018 1:24:43 AM (6 years ago)
- Location:
- pjproject/trunk/pjmedia
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia-codec/config.h
r5632 r5791 80 80 #ifndef PJMEDIA_CODEC_L16_HAS_16KHZ_STEREO 81 81 # define PJMEDIA_CODEC_L16_HAS_16KHZ_STEREO 0 82 #endif 83 84 85 /** 86 * Settings to enable L16 codec 48KHz, mono. By default it is disabled. 87 */ 88 #ifndef PJMEDIA_CODEC_L16_HAS_48KHZ_MONO 89 # define PJMEDIA_CODEC_L16_HAS_48KHZ_MONO 0 90 #endif 91 92 93 /** 94 * Settings to enable L16 codec 48KHz, stereo. By default it is disabled. 95 */ 96 #ifndef PJMEDIA_CODEC_L16_HAS_48KHZ_STEREO 97 # define PJMEDIA_CODEC_L16_HAS_48KHZ_STEREO 0 82 98 #endif 83 99 -
pjproject/trunk/pjmedia/include/pjmedia-codec/types.h
r5632 r5791 103 103 //PJMEDIA_RTP_PT_L16_32KHZ_MONO, /**< L16 @ 32KHz, mono */ 104 104 //PJMEDIA_RTP_PT_L16_32KHZ_STEREO, /**< L16 @ 32KHz, stereo */ 105 //PJMEDIA_RTP_PT_L16_48KHZ_MONO, /**< L16 @ 48KHz, mono */ 106 //PJMEDIA_RTP_PT_L16_48KHZ_STEREO, /**< L16 @ 48KHz, stereo */ 105 #if PJMEDIA_CODEC_L16_HAS_48KHZ_MONO 106 PJMEDIA_RTP_PT_L16_48KHZ_MONO, /**< L16 @ 48KHz, mono */ 107 #endif 108 #if PJMEDIA_CODEC_L16_HAS_48KHZ_STEREO 109 PJMEDIA_RTP_PT_L16_48KHZ_STEREO, /**< L16 @ 48KHz, stereo */ 110 #endif 107 111 108 112 /* Caution! -
pjproject/trunk/pjmedia/src/pjmedia-codec/l16.c
r5632 r5791 426 426 ++count; 427 427 } 428 428 #endif 429 430 #if PJMEDIA_CODEC_L16_HAS_48KHZ_MONO 429 431 if (count < *max_count) { 430 432 /* 48KHz mono */ … … 436 438 ++count; 437 439 } 438 440 #endif 441 442 #if PJMEDIA_CODEC_L16_HAS_48KHZ_STEREO 439 443 if (count < *max_count) { 440 444 /* 48KHz stereo */
Note: See TracChangeset
for help on using the changeset viewer.