Ignore:
Timestamp:
Jun 22, 2006 12:34:27 AM (18 years ago)
Author:
bennylp
Message:

Added memory/buffer based media playback and recording

File:
1 edited

Legend:

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

    r531 r532  
    6363 *                      negative, the port will use default buffer size (which 
    6464 *                      is about 4KB). 
    65  * @param user_data     User data to be associated with the file player port. 
    6665 * @param p_port        Pointer to receive the file port instance. 
    6766 * 
     
    7372                                                     unsigned flags, 
    7473                                                     pj_ssize_t buff_size, 
    75                                                      void *user_data, 
    7674                                                     pjmedia_port **p_port ); 
    7775 
     
    107105 * 
    108106 * @param port          The file player port. 
    109  * @param user_data     User data to be specified in the callback. Note that 
    110  *                      this overwrites the user data previously set when 
    111  *                      the file port is created. 
     107 * @param user_data     User data to be specified in the callback 
    112108 * @param cb            Callback to be called. If the callback returns non- 
    113109 *                      PJ_SUCCESS, the playback will stop. Note that if 
     
    152148 *                          zero or negative, the port will use default buffer 
    153149 *                          size (which is about 4KB). 
    154  * @param user_data         User data to be associated with the file port. 
    155  * @param p_port            Pointer to receive the file port instance. 
     150  * @param p_port           Pointer to receive the file port instance. 
    156151 * 
    157152 * @return                  PJ_SUCCESS on success. 
     
    165160                                                    unsigned flags, 
    166161                                                    pj_ssize_t buff_size, 
    167                                                     void *user_data, 
    168162                                                    pjmedia_port **p_port ); 
    169163 
     
    190184 * @param port          The file writer port. 
    191185 * @param pos           The file position on which the callback will be called. 
    192  * @param user_data     User data to be specified in the callback. Note that 
    193  *                      this overwrites the user data previously set when 
    194  *                      the file port is created. 
     186 * @param user_data     User data to be specified in the callback, and will be 
     187 *                      given on the callback. 
    195188 * @param cb            Callback to be called. If the callback returns non- 
    196189 *                      PJ_SUCCESS, the writing will stop. Note that if  
Note: See TracChangeset for help on using the changeset viewer.