- Timestamp:
- Dec 5, 2013 3:03:36 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/pjsua2/pjsip/src/pjsua2/media.cpp
r4676 r4678 377 377 378 378 AudDevManager::AudDevManager() 379 { 380 devMedia = new DevAudioMedia; 379 : devMedia(NULL) 380 { 381 381 } 382 382 … … 394 394 AudioMedia &AudDevManager::getCaptureDevMedia() throw(Error) 395 395 { 396 if (!devMedia) 397 devMedia = new DevAudioMedia; 396 398 return *devMedia; 397 399 } … … 404 406 AudioMedia &AudDevManager::getPlaybackDevMedia() throw(Error) 405 407 { 408 if (!devMedia) 409 devMedia = new DevAudioMedia; 406 410 return *devMedia; 407 411 }
Note: See TracChangeset
for help on using the changeset viewer.