- Timestamp:
- May 5, 2010 4:23:27 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia-audiodev/audiodev.h
r2506 r3159 40 40 */ 41 41 42 /** 42 /** 43 43 * Type for device index. 44 44 */ … … 429 429 typedef struct pjmedia_aud_dev_factory pjmedia_aud_dev_factory; 430 430 431 /* typedef for factory creation function */ 432 typedef pjmedia_aud_dev_factory* 433 (*pjmedia_aud_dev_factory_create_func_ptr)(pj_pool_factory*); 434 435 431 436 /** 432 437 * Get string info for the specified capability. … … 508 513 */ 509 514 PJ_DECL(pj_status_t) pjmedia_aud_subsys_shutdown(void); 515 516 517 /** 518 * Register a supported audio device factory to the audio subsystem. This 519 * function can only be called after calling #pjmedia_aud_subsys_init(). 520 * 521 * @param adf The audio device factory. 522 * 523 * @return PJ_SUCCESS on successful operation or the appropriate 524 * error code. 525 */ 526 PJ_DECL(pj_status_t) 527 pjmedia_aud_register_factory(pjmedia_aud_dev_factory_create_func_ptr adf); 528 529 530 /** 531 * Unregister an audio device factory from the audio subsystem. This 532 * function can only be called after calling #pjmedia_aud_subsys_init(). 533 * Devices from this factory will be unlisted. If a device from this factory 534 * is currently in use, then the behavior is undefined. 535 * 536 * @param adf The audio device factory. 537 * 538 * @return PJ_SUCCESS on successful operation or the appropriate 539 * error code. 540 */ 541 PJ_DECL(pj_status_t) 542 pjmedia_aud_unregister_factory(pjmedia_aud_dev_factory_create_func_ptr adf); 510 543 511 544
Note: See TracChangeset
for help on using the changeset viewer.