Changeset 631 for pjproject/trunk/pjmedia/include/pjmedia/port.h
- Timestamp:
- Jul 27, 2006 10:03:51 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/port.h
r622 r631 357 357 358 358 /** 359 * This is an auxiliary function to initialize port info for 360 * ports which deal with PCM audio. 361 * 362 * @param info The port info to be initialized. 363 * @param name Port name. 364 * @param signature Port signature. 365 * @param channel_count Number of channels. 366 * @param bits_per_sample Bits per sample. 367 * @param samples_per_frame Number of samples per frame. 368 * 369 * @return PJ_SUCCESS on success. 370 */ 371 PJ_DECL(pj_status_t) pjmedia_port_info_init( pjmedia_port_info *info, 372 const pj_str_t *name, 373 unsigned signature, 374 unsigned clock_rate, 375 unsigned channel_count, 376 unsigned bits_per_sample, 377 unsigned samples_per_frame); 378 379 380 /** 359 381 * Get a frame from the port (and subsequent downstream ports). 382 * 383 * @param port The media port. 384 * @param frame Frame to store samples. 385 * 386 * @return PJ_SUCCESS on success, or the appropriate error code. 360 387 */ 361 388 PJ_DECL(pj_status_t) pjmedia_port_get_frame( pjmedia_port *port, … … 364 391 /** 365 392 * Put a frame to the port (and subsequent downstream ports). 393 * 394 * @param port The media port. 395 * @param frame Frame to the put to the port. 396 * 397 * @return PJ_SUCCESS on success, or the appropriate error code. 366 398 */ 367 399 PJ_DECL(pj_status_t) pjmedia_port_put_frame( pjmedia_port *port, … … 371 403 /** 372 404 * Destroy port (and subsequent downstream ports) 405 * 406 * @param port The media port. 407 * 408 * @return PJ_SUCCESS on success, or the appropriate error code. 373 409 */ 374 410 PJ_DECL(pj_status_t) pjmedia_port_destroy( pjmedia_port *port );
Note: See TracChangeset
for help on using the changeset viewer.