Changeset 959 for pjproject/trunk/pjsip-apps/src/samples/playsine.c
- Timestamp:
- Feb 17, 2007 7:34:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/playsine.c
r815 r959 282 282 /* Start deinitialization: */ 283 283 284 /* Disconnect sound port from file port */ 285 status = pjmedia_snd_port_disconnect(snd_port); 286 PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); 287 288 /* Without this sleep, Windows/DirectSound will repeteadly 289 * play the last frame during destroy. 290 */ 291 pj_thread_sleep(100); 292 284 293 /* Destroy sound device */ 285 294 status = pjmedia_snd_port_destroy( snd_port );
Note: See TracChangeset
for help on using the changeset viewer.