- Timestamp:
- Dec 28, 2016 3:40:07 AM (8 years ago)
- Location:
- pjproject/branches/projects/uwp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/uwp
- Property svn:mergeinfo changed
/pjproject/trunk (added) merged: 5209,5212-5234,5237-5253,5255,5257-5292,5294-5297,5299-5332,5334-5394,5396-5438,5440-5469,5471-5496,5498-5510
- Property svn:mergeinfo changed
-
pjproject/branches/projects/uwp/pjmedia/include/pjmedia/sound.h
r5201 r5513 141 141 * @return Zero on success. 142 142 */ 143 PJ_DECL(pj_status_t) pjmedia_snd_init(pj_pool_factory *factory); 144 143 PJ_INLINE(pj_status_t) pjmedia_snd_init(pj_pool_factory *factory) 144 { 145 /* This function is inlined to avoid pjmedia's dependency on 146 * pjmedia-audiodev. 147 */ 148 return pjmedia_aud_subsys_init(factory); 149 } 145 150 146 151 /** … … 149 154 * @return Number of devices. 150 155 */ 151 PJ_DECL(int) pjmedia_snd_get_dev_count(void); 156 PJ_INLINE(int) pjmedia_snd_get_dev_count(void) 157 { 158 /* This function is inlined to avoid pjmedia's dependency on 159 * pjmedia-audiodev. 160 */ 161 return (int)pjmedia_aud_dev_count(); 162 } 152 163 153 164 … … 324 335 * @return Zero on success. 325 336 */ 326 PJ_DECL(pj_status_t) pjmedia_snd_deinit(void); 337 PJ_INLINE(pj_status_t) pjmedia_snd_deinit(void) 338 { 339 /* This function is inlined to avoid pjmedia's dependency on 340 * pjmedia-audiodev. 341 */ 342 return pjmedia_aud_subsys_shutdown(); 343 } 327 344 328 345
Note: See TracChangeset
for help on using the changeset viewer.