Ignore:
Timestamp:
Feb 21, 2008 8:51:37 AM (14 years ago)
Author:
bennylp
Message:

Ticket #468: Added support for non looping playback in memory player

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/mem_port.h

    r974 r1808  
    3939 */ 
    4040 
     41 
     42/** 
     43 * Memory player options. 
     44 */ 
     45enum pjmedia_mem_player_option 
     46{ 
     47    /** 
     48     * Tell the memory player to return NULL frame when the whole 
     49     * buffer has been played instead of rewinding the buffer back 
     50     * to start position. 
     51     */ 
     52    PJMEDIA_MEM_NO_LOOP = 1 
     53}; 
     54 
     55 
    4156/** 
    4257 * Create the buffer based playback to play the media from the specified 
     
    5368 * @param samples_per_frame Number of samples per frame. 
    5469 * @param bits_per_sample   Number of bits per sample. 
    55  * @param options           Option flags. 
     70 * @param options           Option flags, see #pjmedia_mem_player_option 
    5671 * @param p_port            Pointer to receive the port instance. 
    5772 * 
Note: See TracChangeset for help on using the changeset viewer.