Changeset 3438 for pjproject/trunk/pjmedia/include/pjmedia/sound_port.h
- Timestamp:
- Mar 11, 2011 6:57:24 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/sound_port.h
r2506 r3438 62 62 63 63 */ 64 65 /** 66 * Sound port options. 67 */ 68 enum pjmedia_snd_port_option 69 { 70 /** 71 * Don't start the audio device when creating a sound port. 72 */ 73 PJMEDIA_SND_PORT_NO_AUTO_START = 1 74 }; 75 76 /** 77 * This structure specifies the parameters to create the sound port. 78 */ 79 typedef struct pjmedia_snd_port_param 80 { 81 /** 82 * Base structure. 83 */ 84 pjmedia_aud_param base; 85 86 /** 87 * Sound port creation options. 88 */ 89 unsigned options; 90 } pjmedia_snd_port_param; 64 91 65 92 /** … … 87 114 * @param bits_per_sample Set the number of bits per sample. The normal 88 115 * value for this parameter is 16 bits per sample. 89 * @param options Options flag , currently must be zero.116 * @param options Options flag. 90 117 * @param p_port Pointer to receive the sound device port instance. 91 118 * … … 117 144 * @param bits_per_sample Set the number of bits per sample. The normal 118 145 * value for this parameter is 16 bits per sample. 119 * @param options Options flag , currently must be zero.146 * @param options Options flag. 120 147 * @param p_port Pointer to receive the sound device port instance. 121 148 * … … 146 173 * @param bits_per_sample Set the number of bits per sample. The normal 147 174 * value for this parameter is 16 bits per sample. 148 * @param options Options flag , currently must be zero.175 * @param options Options flag. 149 176 * @param p_port Pointer to receive the sound device port instance. 150 177 * … … 166 193 * 167 194 * @param pool Pool to allocate sound port structure. 168 * @param prm Sound device settings.195 * @param prm Sound port parameter. 169 196 * @param p_port Pointer to receive the sound device port instance. 170 197 * … … 173 200 */ 174 201 PJ_DECL(pj_status_t) pjmedia_snd_port_create2(pj_pool_t *pool, 175 const pjmedia_ aud_param *prm,202 const pjmedia_snd_port_param *prm, 176 203 pjmedia_snd_port **p_port); 177 204
Note: See TracChangeset
for help on using the changeset viewer.