Changeset 648
- Timestamp:
- Aug 4, 2006 6:27:19 PM (18 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 added
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/aec.h
r646 r648 52 52 * @param clock_rate Media clock rate/sampling rate. 53 53 * @param samples_per_frame Number of samples per frame. 54 * @param tail_ size Tail length, in number of samples.54 * @param tail_ms Tail length, miliseconds. 55 55 * 56 56 * @return PJ_SUCCESS on success. … … 59 59 unsigned clock_rate, 60 60 unsigned samples_per_frame, 61 unsigned tail_ size,61 unsigned tail_ms, 62 62 unsigned options, 63 63 pjmedia_aec **p_aec ); -
pjproject/trunk/pjmedia/include/pjmedia/aec_port.h
r642 r648 44 44 * @param pool Pool to allocate memory. 45 45 * @param dn_port Downstream port. 46 * @param tail_ length Tail length in samples.46 * @param tail_ms Tail length in miliseconds. 47 47 * @param p_port Pointer to receive the port instance. 48 48 * … … 51 51 PJ_DECL(pj_status_t) pjmedia_aec_port_create( pj_pool_t *pool, 52 52 pjmedia_port *dn_port, 53 unsigned tail_ length,53 unsigned tail_ms, 54 54 pjmedia_port **p_port ); 55 55 -
pjproject/trunk/pjmedia/include/pjmedia/sound_port.h
r518 r648 184 184 185 185 /** 186 * Enable accoustic echo cancellation (AEC) to the specified sound. 187 * The AEC can only be enabled for sound streams with full-duplex direction. 188 * 189 * And note, you should only change the AEC settings when the sound port 190 * is not connected to any downstream ports. 191 * 192 * @param snd_port The sound device port. 193 * @param pool Pool to re-create the AEC if necessary. 194 * @param tail_ms Maximum echo tail length to be supported, in 195 * miliseconds. If zero is specified, the AEC would 196 * be disabled. 197 * 198 * @return PJ_SUCCESS on success. 199 */ 200 PJ_DECL(pj_status_t) pjmedia_snd_port_set_aec(pjmedia_snd_port *snd_port, 201 pj_pool_t *pool, 202 unsigned tail_ms); 203 204 205 /** 206 * Get current AEC tail length, in miliseconds. The tail length will be zero 207 * if AEC is not enabled. 208 * 209 * @param snd_port The sound device port. 210 * @param p_length Pointer to receive the tail length. 211 * 212 * @return PJ_SUCCESS on success. 213 */ 214 PJ_DECL(pj_status_t) pjmedia_snd_port_get_aec_tail(pjmedia_snd_port *snd_port, 215 unsigned *p_length); 216 217 218 219 /** 186 220 * Connect a port to the sound device port. If the sound device port has a 187 221 * sound recorder device, then this will start periodic function call to -
pjproject/trunk/pjmedia/src/pjmedia/aec_port.c
r646 r648 46 46 PJ_DEF(pj_status_t) pjmedia_aec_port_create( pj_pool_t *pool, 47 47 pjmedia_port *dn_port, 48 unsigned tail_ length,48 unsigned tail_ms, 49 49 pjmedia_port **p_port ) 50 50 { … … 54 54 55 55 PJ_ASSERT_RETURN(pool && dn_port && p_port, PJ_EINVAL); 56 PJ_ASSERT_RETURN(dn_port->info.bits_per_sample==16 && tail_ length,56 PJ_ASSERT_RETURN(dn_port->info.bits_per_sample==16 && tail_ms, 57 57 PJ_EINVAL); 58 58 … … 68 68 status = pjmedia_aec_create(pool, dn_port->info.clock_rate, 69 69 dn_port->info.samples_per_frame, 70 tail_ length, 0, &aec->aec);70 tail_ms, 0, &aec->aec); 71 71 if (status != PJ_SUCCESS) 72 72 return status; -
pjproject/trunk/pjmedia/src/pjmedia/aec_speex.c
r646 r648 27 27 #include <pj/pool.h> 28 28 #include <speex/speex_echo.h> 29 #include <speex/speex_preprocess.h> 29 30 30 31 31 32 #define THIS_FILE "aec_speex.c" 32 #define BUF_COUNT 1633 #define BUF_COUNT 8 33 34 34 35 … … 40 41 struct pjmedia_aec 41 42 { 42 SpeexEchoState *state; 43 SpeexEchoState *state; 44 SpeexPreprocessState *preprocess; 45 43 46 unsigned samples_per_frame; 44 47 unsigned options; 45 48 pj_int16_t *tmp_frame; 49 spx_int32_t *residue; 46 50 47 51 pj_lock_t *lock; /* To protect buffers, if required */ … … 60 64 unsigned clock_rate, 61 65 unsigned samples_per_frame, 62 unsigned tail_ size,66 unsigned tail_ms, 63 67 unsigned options, 64 68 pjmedia_aec **p_aec ) … … 69 73 pj_status_t status; 70 74 75 *p_aec = NULL; 76 71 77 aec = pj_pool_zalloc(pool, sizeof(pjmedia_aec)); 72 78 PJ_ASSERT_RETURN(aec != NULL, PJ_ENOMEM); … … 79 85 aec->options = options; 80 86 81 aec->state = speex_echo_state_init(samples_per_frame,tail_size); 87 aec->state = speex_echo_state_init(samples_per_frame, 88 clock_rate * tail_ms / 1000); 82 89 if (aec->state == NULL) { 90 pj_lock_destroy(aec->lock); 91 return PJ_ENOMEM; 92 } 93 94 aec->preprocess = speex_preprocess_state_init(samples_per_frame, 95 clock_rate); 96 if (aec->preprocess == NULL) { 97 speex_echo_state_destroy(aec->state); 83 98 pj_lock_destroy(aec->lock); 84 99 return PJ_ENOMEM; … … 91 106 92 107 /* Create temporary frame for echo cancellation */ 93 aec->tmp_frame = pj_pool_zalloc(pool, sizeof(pj_int16_t) * 108 aec->tmp_frame = pj_pool_zalloc(pool, 2 * samples_per_frame); 109 PJ_ASSERT_RETURN(aec->tmp_frame != NULL, PJ_ENOMEM); 110 111 /* Create temporary frame to receive residue */ 112 aec->residue = pj_pool_zalloc(pool, sizeof(spx_int32_t) * 94 113 samples_per_frame); 95 PJ_ASSERT_RETURN(aec-> tmp_frame != NULL, PJ_ENOMEM);114 PJ_ASSERT_RETURN(aec->residue != NULL, PJ_ENOMEM); 96 115 97 116 /* Create internal playback buffers */ … … 109 128 clock_rate, 110 129 samples_per_frame, 111 tail_ size * 1000 / clock_rate));130 tail_ms)); 112 131 return PJ_SUCCESS; 113 132 … … 121 140 { 122 141 PJ_ASSERT_RETURN(aec && aec->state, PJ_EINVAL); 142 143 if (aec->lock) 144 pj_lock_acquire(aec->lock); 123 145 124 146 if (aec->state) { 125 147 speex_echo_state_destroy(aec->state); 126 148 aec->state = NULL; 149 } 150 151 if (aec->preprocess) { 152 speex_preprocess_state_destroy(aec->preprocess); 153 aec->preprocess = NULL; 127 154 } 128 155 … … 225 252 void *reserved ) 226 253 { 227 unsigned level0, level1;228 229 254 /* Sanity checks */ 230 255 PJ_ASSERT_RETURN(aec && rec_frm && play_frm && options==0 && … … 234 259 speex_echo_cancel(aec->state, (const spx_int16_t*)rec_frm, 235 260 (const spx_int16_t*)play_frm, 236 (spx_int16_t*)aec->tmp_frame, NULL); 237 238 #if 0 239 level0 = pjmedia_calc_avg_signal(rec_frm, aec->samples_per_frame); 240 level1 = pjmedia_calc_avg_signal(aec->tmp_frame, aec->samples_per_frame); 241 242 if (level1 < level0) { 243 PJ_LOG(5,(THIS_FILE, "Input signal reduced from %d to %d", 244 level0, level1)); 245 } 246 #else 247 PJ_UNUSED_ARG(level0); 248 PJ_UNUSED_ARG(level1); 249 #endif 261 (spx_int16_t*)aec->tmp_frame, 262 aec->residue); 263 264 265 /* Preprocess output */ 266 speex_preprocess(aec->preprocess, (spx_int16_t*)aec->tmp_frame, 267 aec->residue); 250 268 251 269 /* Copy temporary buffer back to original rec_frm */ -
pjproject/trunk/pjmedia/src/pjmedia/dsound.c
r644 r648 453 453 unsigned eventCount; 454 454 unsigned bytes_per_frame; 455 int excess_rec = 0;456 455 pj_status_t status; 457 456 … … 503 502 504 503 struct dsound_stream *dsound_strm; 505 int i;506 504 507 505 /* … … 513 511 status = PJ_SUCCESS; 514 512 515 for (i=0; i <= excess_rec; ++i) { 516 /* Get frame from application. */ 517 status = (*strm->play_cb)(strm->user_data, 518 dsound_strm->timestamp.u32.lo, 519 strm->buffer, 520 bytes_per_frame); 521 if (status != PJ_SUCCESS) 522 break; 523 524 /* Write to DirectSound buffer. */ 525 AppWriteDataToBuffer( dsound_strm->ds.play.lpDsBuffer, 526 dsound_strm->dwBytePos, 527 (LPBYTE)strm->buffer, 513 /* Get frame from application. */ 514 status = (*strm->play_cb)(strm->user_data, 515 dsound_strm->timestamp.u32.lo, 516 strm->buffer, 528 517 bytes_per_frame); 529 530 /* Increment position. */531 dsound_strm->dwBytePos += bytes_per_frame;532 if (dsound_strm->dwBytePos >= dsound_strm->dwDsBufferSize)533 dsound_strm->dwBytePos -= dsound_strm->dwDsBufferSize;534 dsound_strm->timestamp.u64 += strm->samples_per_frame;535 }536 537 518 if (status != PJ_SUCCESS) 538 519 break; 520 521 /* Write to DirectSound buffer. */ 522 AppWriteDataToBuffer( dsound_strm->ds.play.lpDsBuffer, 523 dsound_strm->dwBytePos, 524 (LPBYTE)strm->buffer, 525 bytes_per_frame); 526 527 /* Increment position. */ 528 dsound_strm->dwBytePos += bytes_per_frame; 529 if (dsound_strm->dwBytePos >= dsound_strm->dwDsBufferSize) 530 dsound_strm->dwBytePos -= dsound_strm->dwDsBufferSize; 531 dsound_strm->timestamp.u64 += strm->samples_per_frame; 539 532 540 533 } else { … … 545 538 */ 546 539 struct dsound_stream *dsound_strm; 547 int captured = 0;548 540 BOOL rc; 549 541 … … 559 551 if (!rc) { 560 552 pj_bzero(strm->buffer, bytes_per_frame); 561 } else { 562 captured++; 563 } 553 } 564 554 565 555 /* Call callback */ … … 583 573 } while (dsound_captured_size(dsound_strm) > bytes_per_frame); 584 574 585 excess_rec = captured-1;586 if (excess_rec < 0) excess_rec = 0;587 575 } 588 576 } -
pjproject/trunk/pjmedia/src/pjmedia/sound_port.c
r646 r648 35 35 36 36 //#define SIMULATE_LOST_PCT 20 37 #define AEC_TAIL 500 /*in ms */37 #define AEC_TAIL 128 /* default AEC length in ms */ 38 38 39 39 #define THIS_FILE "sound_port.c" … … 58 58 59 59 pjmedia_aec *aec; 60 unsigned aec_tail_len; 60 61 pjmedia_plc *plc; 61 62 … … 136 137 137 138 138 if (snd_port->aec) {139 pjmedia_aec_playback(snd_port->aec, output);140 }141 142 139 return PJ_SUCCESS; 143 140 } … … 156 153 pjmedia_port *port; 157 154 pjmedia_frame frame; 158 159 /* Cancel echo */160 if (snd_port->aec) {161 pjmedia_aec_capture(snd_port->aec, input, 0);162 }163 155 164 156 /* We're risking accessing the port without holding any mutex. … … 171 163 if (port == NULL) 172 164 return PJ_SUCCESS; 165 166 /* Cancel echo */ 167 if (snd_port->aec) { 168 pjmedia_aec_capture(snd_port->aec, input, 0); 169 } 173 170 174 171 frame.buf = (void*)input; … … 247 244 snd_port->channel_count, 248 245 0, &snd_port->plc); 249 if (status != PJ_SUCCESS) 246 if (status != PJ_SUCCESS) { 247 PJ_LOG(4,(THIS_FILE, "Unable to create PLC")); 250 248 snd_port->plc = NULL; 249 } 251 250 } 252 251 253 252 /* Create AEC only when direction is full duplex */ 254 253 if (snd_port->dir == PJMEDIA_DIR_CAPTURE_PLAYBACK) { 255 status = pjmedia_aec_create(pool, snd_port->clock_rate, 256 snd_port->samples_per_frame, 257 snd_port->clock_rate * AEC_TAIL / 1000, 258 0, &snd_port->aec); 259 if (status != PJ_SUCCESS) 254 status = pjmedia_snd_port_set_aec(snd_port, pool, AEC_TAIL); 255 if (status != PJ_SUCCESS) { 256 PJ_LOG(4,(THIS_FILE, "Unable to create AEC")); 260 257 snd_port->aec = NULL; 258 } 261 259 } 262 260 … … 433 431 434 432 /* 433 * Enable AEC 434 */ 435 PJ_DEF(pj_status_t) pjmedia_snd_port_set_aec( pjmedia_snd_port *snd_port, 436 pj_pool_t *pool, 437 unsigned tail_ms) 438 { 439 pj_status_t status; 440 441 /* Sound must be opened in full-duplex mode */ 442 PJ_ASSERT_RETURN(snd_port && 443 snd_port->dir == PJMEDIA_DIR_CAPTURE_PLAYBACK, 444 PJ_EINVALIDOP); 445 446 /* Destroy AEC */ 447 if (snd_port->aec) { 448 pjmedia_aec_destroy(snd_port->aec); 449 snd_port->aec = NULL; 450 } 451 452 snd_port->aec_tail_len = tail_ms; 453 454 if (tail_ms != 0) { 455 status = pjmedia_aec_create(pool, snd_port->clock_rate, 456 snd_port->samples_per_frame, 457 snd_port->clock_rate * tail_ms / 1000, 458 0, &snd_port->aec); 459 if (status != PJ_SUCCESS) 460 snd_port->aec = NULL; 461 } else { 462 status = PJ_SUCCESS; 463 } 464 465 return status; 466 } 467 468 469 /* Get AEC tail length */ 470 PJ_DEF(pj_status_t) pjmedia_snd_port_get_aec_tail( pjmedia_snd_port *snd_port, 471 unsigned *p_length) 472 { 473 PJ_ASSERT_RETURN(snd_port && p_length, PJ_EINVAL); 474 *p_length = snd_port->aec ? snd_port->aec_tail_len : 0; 475 return PJ_SUCCESS; 476 } 477 478 479 480 /* 435 481 * Connect a port. 436 482 */ -
pjproject/trunk/pjsip-apps/build/wince-evc4
-
Property
svn:ignore
set to
*.vco
*.vcb
*.vcl
-
Property
svn:ignore
set to
-
pjproject/trunk/pjsip-apps/build/wince-evc4/output
-
Property
svn:ignore
set to
*
-
Property
svn:ignore
set to
-
pjproject/trunk/pjsip-apps/src/pjsua_wince/pjsua_wince.cpp
r641 r648 13 13 static HWND hMainWnd; 14 14 static HWND hwndCB; 15 static HWND hwndGlobalStatus; 16 static HWND hwndURI; 17 static HWND hwndCallStatus; 15 static HWND hwndGlobalStatus, hwndURI, hwndCallStatus; 16 static HWND hwndActionButton, hwndExitButton; 18 17 19 18 static pj_pool_t *g_pool; … … 21 20 static int g_current_acc; 22 21 static int g_current_call = PJSUA_INVALID_ID; 22 static int g_current_action; 23 23 24 24 enum … … 36 36 ID_MENU_ANSWER, 37 37 ID_MENU_DISCONNECT, 38 ID_BTN_ACTION, 38 39 }; 40 41 #define DEFAULT_URI "sip:192.168.0.7" 39 42 40 43 … … 64 67 { 65 68 wchar_t tmp[128]; 69 if (len==-1) len=pj_ansi_strlen(uri); 66 70 pj_ansi_to_unicode(uri, len, tmp, PJ_ARRAY_SIZE(tmp)); 67 71 SetDlgItemText(hMainWnd, ID_GLOBAL_STATUS, tmp); … … 74 78 { 75 79 wchar_t tmp[128]; 80 if (len==-1) len=pj_ansi_strlen(uri); 76 81 pj_ansi_to_unicode(uri, len, tmp, PJ_ARRAY_SIZE(tmp)); 77 82 SetDlgItemText(hMainWnd, ID_URI, tmp); … … 83 88 { 84 89 wchar_t tmp[128]; 90 if (len==-1) len=pj_ansi_strlen(state); 85 91 pj_ansi_to_unicode(state, len, tmp, PJ_ARRAY_SIZE(tmp)); 86 92 SetDlgItemText(hMainWnd, ID_CALL_STATUS, tmp); … … 101 107 case ID_MENU_NONE: 102 108 InsertMenu(hMenu, ID_EXIT, MF_BYCOMMAND, action, TEXT("None")); 109 SetWindowText(hwndActionButton, TEXT("-")); 103 110 break; 104 111 case ID_MENU_CALL: 105 112 InsertMenu(hMenu, ID_EXIT, MF_BYCOMMAND, action, TEXT("Call")); 113 SetWindowText(hwndActionButton, TEXT("&Call")); 106 114 break; 107 115 case ID_MENU_ANSWER: 108 116 InsertMenu(hMenu, ID_EXIT, MF_BYCOMMAND, action, TEXT("Answer")); 117 SetWindowText(hwndActionButton, TEXT("&Answer")); 109 118 break; 110 119 case ID_MENU_DISCONNECT: 111 120 InsertMenu(hMenu, ID_EXIT, MF_BYCOMMAND, action, TEXT("Hangup")); 121 SetWindowText(hwndActionButton, TEXT("&Hangup")); 112 122 break; 113 123 } 114 124 115 125 EnableMenuItem(hMenu, action, MF_BYCOMMAND | (enable?MF_ENABLED:MF_GRAYED)); 126 DrawMenuBar(hMainWnd); 127 128 g_current_action = action; 116 129 } 117 130 … … 131 144 132 145 g_current_call = PJSUA_INVALID_ID; 133 SetURI( "sip:", 4);146 SetURI(DEFAULT_URI, -1); 134 147 SetAction(ID_MENU_CALL); 135 SetCallStatus(call_info.state_text.ptr, call_info.state_text.slen); 148 //SetCallStatus(call_info.state_text.ptr, call_info.state_text.slen); 149 SetCallStatus(call_info.last_status_text.ptr, call_info.last_status_text.slen); 136 150 137 151 } else { … … 259 273 pjsua_media_config_default(&media_cfg); 260 274 pjsua_transport_config_default(&udp_cfg); 275 udp_cfg.port = 50060; 261 276 pjsua_transport_config_default(&rtp_cfg); 277 rtp_cfg.port = 40000; 262 278 263 279 /* Setup media */ … … 388 404 LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING); 389 405 hWnd = CreateWindow(szWindowClass, szTitle, WS_VISIBLE, 390 CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,406 CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, 200, 391 407 NULL, NULL, hInstance, NULL); 392 408 … … 412 428 { 413 429 X = 10, 430 Y = 40, 414 431 W = 220, 415 432 H = 30, … … 431 448 dwStyle, // Window style 432 449 X, // x-coordinate of the upper-left corner 433 60, // y-coordinate of the upper-left corner450 Y+0, // y-coordinate of the upper-left corner 434 451 W, // Width of the window for the edit 435 452 // control 436 H , // Height of the window for the edit453 H-5, // Height of the window for the edit 437 454 // control 438 455 hWnd, // Window handle to the parent window … … 451 468 dwStyle, // Window style 452 469 X, // x-coordinate of the upper-left corner 453 100, // y-coordinate of the upper-left corner470 Y+H, // y-coordinate of the upper-left corner 454 471 W, // Width of the window for the edit 455 472 // control 456 H , // Height of the window for the edit473 H-5, // Height of the window for the edit 457 474 // control 458 475 hWnd, // Window handle to the parent window … … 461 478 NULL); // Specify NULL for this parameter when 462 479 // you create a control 463 SetURI("sip:", 4, true); 464 SetFocus(hwndURI); 480 481 // Create action Button 482 hwndActionButton = CreateWindow( L"button", L"Action", 483 WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON, 484 X, Y+2*H, 485 60, H-5, hWnd, 486 (HMENU) ID_BTN_ACTION, 487 hInst, NULL ); 488 489 // Create exit button 490 hwndExitButton = CreateWindow( L"button", L"E&xit", 491 WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON, 492 X+70, Y+2*H, 493 60, H-5, hWnd, 494 (HMENU) ID_EXIT, 495 hInst, NULL ); 496 465 497 466 498 // Create call status edit … … 471 503 dwStyle, // Window style 472 504 X, // x-coordinate of the upper-left corner 473 140, // y-coordinate of the upper-left corner505 Y+3*H, // y-coordinate of the upper-left corner 474 506 W, // Width of the window for the edit 475 507 // control 476 H , // Height of the window for the edit508 H-5, // Height of the window for the edit 477 509 // control 478 510 hWnd, // Window handle to the parent window … … 482 514 // you create a control 483 515 SetCallStatus("Ready", 5); 484 485 516 SetAction(ID_MENU_CALL); 517 SetURI(DEFAULT_URI, -1); 518 SetFocus(hwndURI); 519 486 520 } 487 521 … … 500 534 wmId = LOWORD(wParam); 501 535 wmEvent = HIWORD(wParam); 536 if (wmId == ID_BTN_ACTION) 537 wmId = g_current_action; 502 538 switch (wmId) 503 539 { -
pjproject/trunk/pjsip-apps/src/pjsua_wince/pjsua_wince.vcp
r641 r648 76 76 # PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" 77 77 # PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" 78 # PROP Ignore_Export_Lib 0 78 79 # PROP Target_Dir "" 79 80 RSC=rc.exe … … 91 92 LINK32=link.exe 92 93 # ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS 93 # ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS94 # ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS 94 95 95 96 !ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE MIPSII_FP) Debug" … … 108 109 # PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" 109 110 # PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" 111 # PROP Ignore_Export_Lib 0 110 112 # PROP Target_Dir "" 111 113 RSC=rc.exe … … 123 125 LINK32=link.exe 124 126 # ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS 125 # ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS127 # ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS 126 128 127 129 !ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE MIPSII) Release" … … 140 142 # PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" 141 143 # PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" 144 # PROP Ignore_Export_Lib 0 142 145 # PROP Target_Dir "" 143 146 RSC=rc.exe … … 155 158 LINK32=link.exe 156 159 # ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS 157 # ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS160 # ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS 158 161 159 162 !ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE MIPSII) Debug" … … 172 175 # PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" 173 176 # PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" 177 # PROP Ignore_Export_Lib 0 174 178 # PROP Target_Dir "" 175 179 RSC=rc.exe … … 187 191 LINK32=link.exe 188 192 # ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS 189 # ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS193 # ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS 190 194 191 195 !ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE SH4) Release" … … 204 208 # PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" 205 209 # PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" 210 # PROP Ignore_Export_Lib 0 206 211 # PROP Target_Dir "" 207 212 RSC=rc.exe … … 219 224 LINK32=link.exe 220 225 # ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 221 # ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4226 # ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 222 227 223 228 !ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE SH4) Debug" … … 236 241 # PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" 237 242 # PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" 243 # PROP Ignore_Export_Lib 0 238 244 # PROP Target_Dir "" 239 245 RSC=rc.exe … … 251 257 LINK32=link.exe 252 258 # ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 253 # ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4259 # ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 254 260 255 261 !ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE SH3) Release" … … 268 274 # PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" 269 275 # PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" 276 # PROP Ignore_Export_Lib 0 270 277 # PROP Target_Dir "" 271 278 RSC=rc.exe … … 283 290 LINK32=link.exe 284 291 # ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 285 # ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096292 # ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 286 293 287 294 !ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE SH3) Debug" … … 300 307 # PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" 301 308 # PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" 309 # PROP Ignore_Export_Lib 0 302 310 # PROP Target_Dir "" 303 311 RSC=rc.exe … … 315 323 LINK32=link.exe 316 324 # ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 317 # ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096325 # ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 318 326 319 327 !ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE MIPSIV) Release" … … 332 340 # PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" 333 341 # PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" 342 # PROP Ignore_Export_Lib 0 334 343 # PROP Target_Dir "" 335 344 RSC=rc.exe … … 347 356 LINK32=link.exe 348 357 # ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU 349 # ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU358 # ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU 350 359 351 360 !ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE MIPSIV) Debug" … … 364 373 # PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" 365 374 # PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" 375 # PROP Ignore_Export_Lib 0 366 376 # PROP Target_Dir "" 367 377 RSC=rc.exe … … 379 389 LINK32=link.exe 380 390 # ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU 381 # ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU391 # ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU 382 392 383 393 !ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE emulator) Release" … … 396 406 # PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" 397 407 # PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" 408 # PROP Ignore_Export_Lib 0 398 409 # PROP Target_Dir "" 399 410 RSC=rc.exe … … 411 422 LINK32=link.exe 412 423 # ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 413 # ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc)/nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86424 # ADD LINK32 $(CEx86Corelibc) commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 414 425 415 426 !ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE emulator) Debug" … … 435 446 CPP=cl.exe 436 447 # ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /Yu"stdafx.h" /Gs8192 /GF /c 437 # ADD CPP /nologo /W3 /Zi /Od /I "../../../pjsip/include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" / Yu"stdafx.h" /Gs8192 /GF /c448 # ADD CPP /nologo /W3 /Zi /Od /I "../../../pjsip/include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /FR /Yu"stdafx.h" /Gs8192 /GF /c 438 449 MTL=midl.exe 439 450 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 … … 444 455 LINK32=link.exe 445 456 # ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 446 # ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib $(CEx86Corelibc)/nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86457 # ADD LINK32 $(CEx86Corelibc) commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 447 458 448 459 !ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4I) Release" … … 461 472 # PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" 462 473 # PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" 474 # PROP Ignore_Export_Lib 0 463 475 # PROP Target_Dir "" 464 476 RSC=rc.exe … … 476 488 LINK32=link.exe 477 489 # ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB 478 # ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB490 # ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB 479 491 480 492 !ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4I) Debug" … … 493 505 # PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" 494 506 # PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" 507 # PROP Ignore_Export_Lib 0 495 508 # PROP Target_Dir "" 496 509 RSC=rc.exe … … 508 521 LINK32=link.exe 509 522 # ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB 510 # ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB523 # ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB 511 524 512 525 !ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE MIPSIV_FP) Release" … … 525 538 # PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" 526 539 # PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" 540 # PROP Ignore_Export_Lib 0 527 541 # PROP Target_Dir "" 528 542 RSC=rc.exe … … 540 554 LINK32=link.exe 541 555 # ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU 542 # ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU556 # ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU 543 557 544 558 !ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE MIPSIV_FP) Debug" … … 557 571 # PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" 558 572 # PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" 573 # PROP Ignore_Export_Lib 0 559 574 # PROP Target_Dir "" 560 575 RSC=rc.exe … … 572 587 LINK32=link.exe 573 588 # ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU 574 # ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU589 # ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU 575 590 576 591 !ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4) Release" … … 589 604 # PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" 590 605 # PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" 606 # PROP Ignore_Export_Lib 0 591 607 # PROP Target_Dir "" 592 608 RSC=rc.exe … … 604 620 LINK32=link.exe 605 621 # ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM 606 # ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM622 # ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM 607 623 608 624 !ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4) Debug" … … 621 637 # PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" 622 638 # PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" 639 # PROP Ignore_Export_Lib 0 623 640 # PROP Target_Dir "" 624 641 RSC=rc.exe … … 636 653 LINK32=link.exe 637 654 # ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM 638 # ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM655 # ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM 639 656 640 657 !ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE MIPS16) Release" … … 653 670 # PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" 654 671 # PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" 672 # PROP Ignore_Export_Lib 0 655 673 # PROP Target_Dir "" 656 674 RSC=rc.exe … … 668 686 LINK32=link.exe 669 687 # ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 670 # ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096688 # ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 671 689 672 690 !ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE MIPS16) Debug" … … 685 703 # PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" 686 704 # PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" 705 # PROP Ignore_Export_Lib 0 687 706 # PROP Target_Dir "" 688 707 RSC=rc.exe … … 700 719 LINK32=link.exe 701 720 # ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 702 # ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096721 # ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 703 722 704 723 !ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4T) Release" … … 717 736 # PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" 718 737 # PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" 738 # PROP Ignore_Export_Lib 0 719 739 # PROP Target_Dir "" 720 740 RSC=rc.exe … … 732 752 LINK32=link.exe 733 753 # ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB 734 # ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB754 # ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB 735 755 736 756 !ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4T) Debug" … … 749 769 # PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" 750 770 # PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" 771 # PROP Ignore_Export_Lib 0 751 772 # PROP Target_Dir "" 752 773 RSC=rc.exe … … 764 785 LINK32=link.exe 765 786 # ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB 766 # ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB787 # ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB 767 788 768 789 !ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE x86) Release" … … 781 802 # PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" 782 803 # PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" 804 # PROP Ignore_Export_Lib 0 783 805 # PROP Target_Dir "" 784 806 RSC=rc.exe … … 796 818 LINK32=link.exe 797 819 # ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 798 # ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc)/nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86820 # ADD LINK32 $(CEx86Corelibc) commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 799 821 800 822 !ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE x86) Debug" … … 813 835 # PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" 814 836 # PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" 837 # PROP Ignore_Export_Lib 0 815 838 # PROP Target_Dir "" 816 839 RSC=rc.exe … … 828 851 LINK32=link.exe 829 852 # ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 830 # ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc)/nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86853 # ADD LINK32 $(CEx86Corelibc) commctrl.lib coredll.lib winsock.lib ws2.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 831 854 832 855 !ENDIF … … 1109 1132 1110 1133 DEP_CPP_PJSUA=\ 1134 "..\..\..\pjlib-util\include\pjlib-util.h"\ 1135 "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ 1136 "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ 1137 "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ 1138 "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ 1139 "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ 1140 "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ 1141 "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ 1142 "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ 1143 "..\..\..\pjlib\include\pj\addr_resolv.h"\ 1144 "..\..\..\pjlib\include\pj\array.h"\ 1145 "..\..\..\pjlib\include\pj\assert.h"\ 1146 "..\..\..\pjlib\include\pj\compat\assert.h"\ 1147 "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ 1148 "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ 1149 "..\..\..\pjlib\include\pj\compat\ctype.h"\ 1150 "..\..\..\pjlib\include\pj\compat\errno.h"\ 1151 "..\..\..\pjlib\include\pj\compat\high_precision.h"\ 1152 "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ 1153 "..\..\..\pjlib\include\pj\compat\os_linux.h"\ 1154 "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ 1155 "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ 1156 "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ 1157 "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ 1158 "..\..\..\pjlib\include\pj\compat\os_win32.h"\ 1159 "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ 1160 "..\..\..\pjlib\include\pj\compat\setjmp.h"\ 1161 "..\..\..\pjlib\include\pj\compat\size_t.h"\ 1162 "..\..\..\pjlib\include\pj\compat\string.h"\ 1163 "..\..\..\pjlib\include\pj\config.h"\ 1164 "..\..\..\pjlib\include\pj\config_site.h"\ 1165 "..\..\..\pjlib\include\pj\ctype.h"\ 1166 "..\..\..\pjlib\include\pj\errno.h"\ 1167 "..\..\..\pjlib\include\pj\except.h"\ 1168 "..\..\..\pjlib\include\pj\fifobuf.h"\ 1169 "..\..\..\pjlib\include\pj\file_access.h"\ 1170 "..\..\..\pjlib\include\pj\file_io.h"\ 1171 "..\..\..\pjlib\include\pj\guid.h"\ 1172 "..\..\..\pjlib\include\pj\hash.h"\ 1173 "..\..\..\pjlib\include\pj\ioqueue.h"\ 1174 "..\..\..\pjlib\include\pj\list.h"\ 1175 "..\..\..\pjlib\include\pj\list_i.h"\ 1176 "..\..\..\pjlib\include\pj\lock.h"\ 1177 "..\..\..\pjlib\include\pj\log.h"\ 1178 "..\..\..\pjlib\include\pj\os.h"\ 1179 "..\..\..\pjlib\include\pj\pool.h"\ 1180 "..\..\..\pjlib\include\pj\pool_alt.h"\ 1181 "..\..\..\pjlib\include\pj\pool_i.h"\ 1182 "..\..\..\pjlib\include\pj\rand.h"\ 1183 "..\..\..\pjlib\include\pj\rbtree.h"\ 1184 "..\..\..\pjlib\include\pj\sock.h"\ 1185 "..\..\..\pjlib\include\pj\sock_select.h"\ 1186 "..\..\..\pjlib\include\pj\string.h"\ 1187 "..\..\..\pjlib\include\pj\string_i.h"\ 1188 "..\..\..\pjlib\include\pj\timer.h"\ 1189 "..\..\..\pjlib\include\pj\types.h"\ 1190 "..\..\..\pjlib\include\pj\unicode.h"\ 1191 "..\..\..\pjlib\include\pjlib.h"\ 1192 "..\..\..\pjmedia\include\pjmedia-codec.h"\ 1193 "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ 1194 "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ 1195 "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ 1196 "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ 1197 "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ 1198 "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ 1199 "..\..\..\pjmedia\include\pjmedia.h"\ 1200 "..\..\..\pjmedia\include\pjmedia\clock.h"\ 1201 "..\..\..\pjmedia\include\pjmedia\codec.h"\ 1202 "..\..\..\pjmedia\include\pjmedia\conference.h"\ 1203 "..\..\..\pjmedia\include\pjmedia\config.h"\ 1204 "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ 1205 "..\..\..\pjmedia\include\pjmedia\errno.h"\ 1206 "..\..\..\pjmedia\include\pjmedia\g711.h"\ 1207 "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ 1208 "..\..\..\pjmedia\include\pjmedia\master_port.h"\ 1209 "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ 1210 "..\..\..\pjmedia\include\pjmedia\null_port.h"\ 1211 "..\..\..\pjmedia\include\pjmedia\plc.h"\ 1212 "..\..\..\pjmedia\include\pjmedia\port.h"\ 1213 "..\..\..\pjmedia\include\pjmedia\resample.h"\ 1214 "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ 1215 "..\..\..\pjmedia\include\pjmedia\rtp.h"\ 1216 "..\..\..\pjmedia\include\pjmedia\sdp.h"\ 1217 "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ 1218 "..\..\..\pjmedia\include\pjmedia\session.h"\ 1219 "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ 1220 "..\..\..\pjmedia\include\pjmedia\sound.h"\ 1221 "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ 1222 "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ 1223 "..\..\..\pjmedia\include\pjmedia\stream.h"\ 1224 "..\..\..\pjmedia\include\pjmedia\transport.h"\ 1225 "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ 1226 "..\..\..\pjmedia\include\pjmedia\types.h"\ 1227 "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ 1228 "..\..\..\pjmedia\include\pjmedia\wave.h"\ 1229 "..\..\..\pjsip\include\pjsip-simple\evsub.h"\ 1230 "..\..\..\pjsip\include\pjsip-simple\iscomposing.h"\ 1231 "..\..\..\pjsip\include\pjsip-simple\pidf.h"\ 1232 "..\..\..\pjsip\include\pjsip-simple\presence.h"\ 1233 "..\..\..\pjsip\include\pjsip-simple\types.h"\ 1234 "..\..\..\pjsip\include\pjsip-simple\xpidf.h"\ 1235 "..\..\..\pjsip\include\pjsip-ua\sip_inv.h"\ 1236 "..\..\..\pjsip\include\pjsip-ua\sip_regc.h"\ 1237 "..\..\..\pjsip\include\pjsip-ua\sip_xfer.h"\ 1238 "..\..\..\pjsip\include\pjsip.h"\ 1239 "..\..\..\pjsip\include\pjsip\sip_auth.h"\ 1240 "..\..\..\pjsip\include\pjsip\sip_auth_msg.h"\ 1241 "..\..\..\pjsip\include\pjsip\sip_config.h"\ 1242 "..\..\..\pjsip\include\pjsip\sip_dialog.h"\ 1243 "..\..\..\pjsip\include\pjsip\sip_endpoint.h"\ 1244 "..\..\..\pjsip\include\pjsip\sip_errno.h"\ 1245 "..\..\..\pjsip\include\pjsip\sip_event.h"\ 1246 "..\..\..\pjsip\include\pjsip\sip_module.h"\ 1247 "..\..\..\pjsip\include\pjsip\sip_msg.h"\ 1248 "..\..\..\pjsip\include\pjsip\sip_parser.h"\ 1249 "..\..\..\pjsip\include\pjsip\sip_resolve.h"\ 1250 "..\..\..\pjsip\include\pjsip\sip_tel_uri.h"\ 1251 "..\..\..\pjsip\include\pjsip\sip_transaction.h"\ 1252 "..\..\..\pjsip\include\pjsip\sip_transport.h"\ 1253 "..\..\..\pjsip\include\pjsip\sip_transport_loop.h"\ 1254 "..\..\..\pjsip\include\pjsip\sip_transport_tcp.h"\ 1255 "..\..\..\pjsip\include\pjsip\sip_transport_udp.h"\ 1256 "..\..\..\pjsip\include\pjsip\sip_types.h"\ 1257 "..\..\..\pjsip\include\pjsip\sip_ua_layer.h"\ 1258 "..\..\..\pjsip\include\pjsip\sip_uri.h"\ 1259 "..\..\..\pjsip\include\pjsip\sip_util.h"\ 1260 "..\..\..\pjsip\include\pjsip_simple.h"\ 1261 "..\..\..\pjsip\include\pjsip_ua.h"\ 1262 "..\..\..\pjsip\include\pjsua-lib\pjsua.h"\ 1111 1263 ".\pjsua_wince.h"\ 1112 1264 ".\StdAfx.h"\ … … 1116 1268 1117 1269 DEP_CPP_PJSUA=\ 1270 "..\..\..\pjlib-util\include\pjlib-util.h"\ 1271 "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ 1272 "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ 1273 "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ 1274 "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ 1275 "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ 1276 "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ 1277 "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ 1278 "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ 1279 "..\..\..\pjlib\include\pj\addr_resolv.h"\ 1280 "..\..\..\pjlib\include\pj\array.h"\ 1281 "..\..\..\pjlib\include\pj\assert.h"\ 1282 "..\..\..\pjlib\include\pj\compat\assert.h"\ 1283 "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ 1284 "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ 1285 "..\..\..\pjlib\include\pj\compat\ctype.h"\ 1286 "..\..\..\pjlib\include\pj\compat\errno.h"\ 1287 "..\..\..\pjlib\include\pj\compat\high_precision.h"\ 1288 "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ 1289 "..\..\..\pjlib\include\pj\compat\os_linux.h"\ 1290 "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ 1291 "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ 1292 "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ 1293 "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ 1294 "..\..\..\pjlib\include\pj\compat\os_win32.h"\ 1295 "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ 1296 "..\..\..\pjlib\include\pj\compat\setjmp.h"\ 1297 "..\..\..\pjlib\include\pj\compat\size_t.h"\ 1298 "..\..\..\pjlib\include\pj\compat\string.h"\ 1299 "..\..\..\pjlib\include\pj\config.h"\ 1300 "..\..\..\pjlib\include\pj\config_site.h"\ 1301 "..\..\..\pjlib\include\pj\ctype.h"\ 1302 "..\..\..\pjlib\include\pj\errno.h"\ 1303 "..\..\..\pjlib\include\pj\except.h"\ 1304 "..\..\..\pjlib\include\pj\fifobuf.h"\ 1305 "..\..\..\pjlib\include\pj\file_access.h"\ 1306 "..\..\..\pjlib\include\pj\file_io.h"\ 1307 "..\..\..\pjlib\include\pj\guid.h"\ 1308 "..\..\..\pjlib\include\pj\hash.h"\ 1309 "..\..\..\pjlib\include\pj\ioqueue.h"\ 1310 "..\..\..\pjlib\include\pj\list.h"\ 1311 "..\..\..\pjlib\include\pj\list_i.h"\ 1312 "..\..\..\pjlib\include\pj\lock.h"\ 1313 "..\..\..\pjlib\include\pj\log.h"\ 1314 "..\..\..\pjlib\include\pj\os.h"\ 1315 "..\..\..\pjlib\include\pj\pool.h"\ 1316 "..\..\..\pjlib\include\pj\pool_alt.h"\ 1317 "..\..\..\pjlib\include\pj\pool_i.h"\ 1318 "..\..\..\pjlib\include\pj\rand.h"\ 1319 "..\..\..\pjlib\include\pj\rbtree.h"\ 1320 "..\..\..\pjlib\include\pj\sock.h"\ 1321 "..\..\..\pjlib\include\pj\sock_select.h"\ 1322 "..\..\..\pjlib\include\pj\string.h"\ 1323 "..\..\..\pjlib\include\pj\string_i.h"\ 1324 "..\..\..\pjlib\include\pj\timer.h"\ 1325 "..\..\..\pjlib\include\pj\types.h"\ 1326 "..\..\..\pjlib\include\pj\unicode.h"\ 1327 "..\..\..\pjlib\include\pjlib.h"\ 1328 "..\..\..\pjmedia\include\pjmedia-codec.h"\ 1329 "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ 1330 "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ 1331 "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ 1332 "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ 1333 "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ 1334 "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ 1335 "..\..\..\pjmedia\include\pjmedia.h"\ 1336 "..\..\..\pjmedia\include\pjmedia\clock.h"\ 1337 "..\..\..\pjmedia\include\pjmedia\codec.h"\ 1338 "..\..\..\pjmedia\include\pjmedia\conference.h"\ 1339 "..\..\..\pjmedia\include\pjmedia\config.h"\ 1340 "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ 1341 "..\..\..\pjmedia\include\pjmedia\errno.h"\ 1342 "..\..\..\pjmedia\include\pjmedia\g711.h"\ 1343 "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ 1344 "..\..\..\pjmedia\include\pjmedia\master_port.h"\ 1345 "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ 1346 "..\..\..\pjmedia\include\pjmedia\null_port.h"\ 1347 "..\..\..\pjmedia\include\pjmedia\plc.h"\ 1348 "..\..\..\pjmedia\include\pjmedia\port.h"\ 1349 "..\..\..\pjmedia\include\pjmedia\resample.h"\ 1350 "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ 1351 "..\..\..\pjmedia\include\pjmedia\rtp.h"\ 1352 "..\..\..\pjmedia\include\pjmedia\sdp.h"\ 1353 "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ 1354 "..\..\..\pjmedia\include\pjmedia\session.h"\ 1355 "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ 1356 "..\..\..\pjmedia\include\pjmedia\sound.h"\ 1357 "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ 1358 "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ 1359 "..\..\..\pjmedia\include\pjmedia\stream.h"\ 1360 "..\..\..\pjmedia\include\pjmedia\transport.h"\ 1361 "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ 1362 "..\..\..\pjmedia\include\pjmedia\types.h"\ 1363 "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ 1364 "..\..\..\pjmedia\include\pjmedia\wave.h"\ 1365 "..\..\..\pjsip\include\pjsip-simple\evsub.h"\ 1366 "..\..\..\pjsip\include\pjsip-simple\iscomposing.h"\ 1367 "..\..\..\pjsip\include\pjsip-simple\pidf.h"\ 1368 "..\..\..\pjsip\include\pjsip-simple\presence.h"\ 1369 "..\..\..\pjsip\include\pjsip-simple\types.h"\ 1370 "..\..\..\pjsip\include\pjsip-simple\xpidf.h"\ 1371 "..\..\..\pjsip\include\pjsip-ua\sip_inv.h"\ 1372 "..\..\..\pjsip\include\pjsip-ua\sip_regc.h"\ 1373 "..\..\..\pjsip\include\pjsip-ua\sip_xfer.h"\ 1374 "..\..\..\pjsip\include\pjsip.h"\ 1375 "..\..\..\pjsip\include\pjsip\sip_auth.h"\ 1376 "..\..\..\pjsip\include\pjsip\sip_auth_msg.h"\ 1377 "..\..\..\pjsip\include\pjsip\sip_config.h"\ 1378 "..\..\..\pjsip\include\pjsip\sip_dialog.h"\ 1379 "..\..\..\pjsip\include\pjsip\sip_endpoint.h"\ 1380 "..\..\..\pjsip\include\pjsip\sip_errno.h"\ 1381 "..\..\..\pjsip\include\pjsip\sip_event.h"\ 1382 "..\..\..\pjsip\include\pjsip\sip_module.h"\ 1383 "..\..\..\pjsip\include\pjsip\sip_msg.h"\ 1384 "..\..\..\pjsip\include\pjsip\sip_parser.h"\ 1385 "..\..\..\pjsip\include\pjsip\sip_resolve.h"\ 1386 "..\..\..\pjsip\include\pjsip\sip_tel_uri.h"\ 1387 "..\..\..\pjsip\include\pjsip\sip_transaction.h"\ 1388 "..\..\..\pjsip\include\pjsip\sip_transport.h"\ 1389 "..\..\..\pjsip\include\pjsip\sip_transport_loop.h"\ 1390 "..\..\..\pjsip\include\pjsip\sip_transport_tcp.h"\ 1391 "..\..\..\pjsip\include\pjsip\sip_transport_udp.h"\ 1392 "..\..\..\pjsip\include\pjsip\sip_types.h"\ 1393 "..\..\..\pjsip\include\pjsip\sip_ua_layer.h"\ 1394 "..\..\..\pjsip\include\pjsip\sip_uri.h"\ 1395 "..\..\..\pjsip\include\pjsip\sip_util.h"\ 1396 "..\..\..\pjsip\include\pjsip_simple.h"\ 1397 "..\..\..\pjsip\include\pjsip_ua.h"\ 1398 "..\..\..\pjsip\include\pjsua-lib\pjsua.h"\ 1118 1399 ".\pjsua_wince.h"\ 1119 1400 ".\StdAfx.h"\ -
pjproject/trunk/pjsip-apps/src/samples/aectest.c
r646 r648 161 161 pjmedia_bidirectional_port_create(pool, play_port, rec_port, &bidir_port); 162 162 163 /* Create AEC port */164 if (0) {165 pjmedia_aec_port_create(pool, bidir_port,166 bidir_port->info.clock_rate * 200 / 1000,167 &bidir_port);168 }169 170 163 /* Create sound device. */ 171 164 status = pjmedia_snd_port_create(pool, -1, -1, … … 181 174 182 175 176 /* Customize AEC */ 177 pjmedia_snd_port_set_aec(snd, pool, 800); 178 183 179 /* Connect sound to the port */ 184 180 pjmedia_snd_port_connect(snd, bidir_port); -
pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
r643 r648 2153 2153 cfg->quality = 6; 2154 2154 cfg->ilbc_mode = 20; 2155 cfg->ec_tail_len = 0;2155 cfg->ec_tail_len = 500; 2156 2156 } 2157 2157 … … 2498 2498 2499 2499 2500 /** 2501 * Configure the AEC settings of the sound port. 2502 * 2503 * @param tail_ms The tail length, in miliseconds. Set to zero to 2504 * disable AEC. 2505 * 2506 * @return PJ_SUCCESS on success. 2507 */ 2508 PJ_DECL(pj_status_t) pjsua_set_aec(unsigned tail_ms); 2509 2510 2511 /** 2512 * Get current AEC tail length. 2513 * 2514 * @param p_tail_ms Pointer to receive the tail length, in miliseconds. 2515 * If AEC is disabled, the value will be zero. 2516 * 2517 * @return PJ_SUCCESS on success. 2518 */ 2519 PJ_DECL(pj_status_t) pjsua_get_aec(unsigned *p_tail_ms); 2520 2521 2522 2500 2523 /***************************************************************************** 2501 2524 * Codecs. -
pjproject/trunk/pjsip/include/pjsua-lib/pjsua_internal.h
r642 r648 205 205 int cap_dev; /**< Capture device ID. */ 206 206 int play_dev; /**< Playback device ID. */ 207 pjmedia_port *aec_port; /**< AEC port to conf bridge. */208 207 pj_bool_t no_snd; /**< No sound (app will manage it) */ 209 208 pjmedia_snd_port *snd_port; /**< Sound port. */ -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r643 r648 969 969 pj_assert(conf_port != NULL); 970 970 971 /* Create AEC if it's not created */ 972 if (pjsua_var.aec_port == NULL && pjsua_var.media_cfg.ec_tail_len) { 973 status = pjmedia_aec_port_create(pjsua_var.pool, conf_port, 974 conf_port->info.clock_rate * 975 pjsua_var.media_cfg.ec_tail_len / 976 1000, 977 &pjsua_var.aec_port); 978 if (status != PJ_SUCCESS) { 979 pjsua_perror(THIS_FILE, "Unable to create AEC port", status); 980 pjmedia_snd_port_destroy(pjsua_var.snd_port); 981 pjsua_var.snd_port = NULL; 982 return status; 983 } 984 } 985 986 /* Connect to the AEC port */ 987 status = pjmedia_snd_port_connect(pjsua_var.snd_port, 988 pjsua_var.media_cfg.ec_tail_len ? 989 pjsua_var.aec_port : conf_port ); 990 if (status != PJ_SUCCESS) { 991 pjsua_perror(THIS_FILE, "Unable to connect conference port to " 992 "sound device", status); 993 pjmedia_snd_port_destroy(pjsua_var.snd_port); 994 pjsua_var.snd_port = NULL; 995 return status; 996 } 971 /* Set AEC */ 972 pjmedia_snd_port_set_aec(pjsua_var.snd_port, pjsua_var.pool, 973 pjsua_var.media_cfg.ec_tail_len); 997 974 998 975 /* Save the device IDs */ … … 1054 1031 1055 1032 1033 /* 1034 * Configure the AEC settings of the sound port. 1035 */ 1036 PJ_DEF(pj_status_t) pjsua_set_aec(unsigned tail_ms) 1037 { 1038 pjsua_var.media_cfg.ec_tail_len = tail_ms; 1039 1040 if (pjsua_var.snd_port) 1041 return pjmedia_snd_port_set_aec(pjsua_var.snd_port, pjsua_var.pool, 1042 tail_ms); 1043 1044 return PJ_SUCCESS; 1045 } 1046 1047 1048 /* 1049 * Get current AEC tail length. 1050 */ 1051 PJ_DEF(pj_status_t) pjsua_get_aec(unsigned *p_tail_ms) 1052 { 1053 *p_tail_ms = pjsua_var.media_cfg.ec_tail_len; 1054 return PJ_SUCCESS; 1055 } 1056 1056 1057 1057 1058 /*****************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.