- Timestamp:
- Dec 5, 2013 10:53:12 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/pjsua2/pjsip/src/pjsua2/media.cpp
r4680 r4685 233 233 } 234 234 235 AudioMedia* AudioMedia::typecastFromMedia(Media *media) 236 { 237 return static_cast<AudioMedia*>(media); 238 } 239 235 240 /////////////////////////////////////////////////////////////////////////////// 236 241 … … 296 301 { 297 302 PJSUA2_CHECK_EXPR( pjsua_player_set_pos(playerId, samples) ); 303 } 304 305 AudioMediaPlayer* AudioMediaPlayer::typecastFromAudioMedia( 306 AudioMedia *media) 307 { 308 return static_cast<AudioMediaPlayer*>(media); 298 309 } 299 310 … … 333 344 registerMediaPort(NULL); 334 345 } 346 347 AudioMediaRecorder* AudioMediaRecorder::typecastFromAudioMedia( 348 AudioMedia *media) 349 { 350 return static_cast<AudioMediaRecorder*>(media); 351 } 352 335 353 /////////////////////////////////////////////////////////////////////////////// 336 354 void AudioDevInfo::fromPj(const pjmedia_aud_dev_info &dev_info)
Note: See TracChangeset
for help on using the changeset viewer.