From c3cf0f72e5e0978f4fc360ebb5831cc7c51e2527 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Wed, 16 Jun 2010 11:24:45 +0200 Subject: [PATCH] add linphone_sound_daemon_release_all_players() --- coreapi/linphonecore_utils.h | 1 + coreapi/lsd.c | 7 +++++++ mediastreamer2 | 2 +- oRTP | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/coreapi/linphonecore_utils.h b/coreapi/linphonecore_utils.h index 7dbea33d..8c29ef1a 100644 --- a/coreapi/linphonecore_utils.h +++ b/coreapi/linphonecore_utils.h @@ -45,6 +45,7 @@ LinphoneSoundDaemon * linphone_sound_daemon_new(const char *cardname, int rate, LsdPlayer * linphone_sound_daemon_get_player(LinphoneSoundDaemon *lsd); void linphone_sound_daemon_release_player(LinphoneSoundDaemon *lsd, LsdPlayer *lsdplayer); void linphone_sound_daemon_stop_all_players(LinphoneSoundDaemon *obj); +void linphone_sound_daemon_release_all_players(LinphoneSoundDaemon *obj); void linphone_core_use_sound_daemon(LinphoneCore *lc, LinphoneSoundDaemon *lsd); void linphone_sound_daemon_destroy(LinphoneSoundDaemon *obj); diff --git a/coreapi/lsd.c b/coreapi/lsd.c index 84b5c3e8..3772c891 100644 --- a/coreapi/lsd.c +++ b/coreapi/lsd.c @@ -272,6 +272,13 @@ void linphone_sound_daemon_stop_all_players(LinphoneSoundDaemon *obj){ } } +void linphone_sound_daemon_release_all_players(LinphoneSoundDaemon *obj){ + int i; + for(i=1;ibranches[i]); + } +} + void linphone_sound_daemon_destroy(LinphoneSoundDaemon *obj){ int i; MSConnectionPoint mp; diff --git a/mediastreamer2 b/mediastreamer2 index a2a61192..648bfcf6 160000 --- a/mediastreamer2 +++ b/mediastreamer2 @@ -1 +1 @@ -Subproject commit a2a6119273226234ea7300742c34d46fa545fcd8 +Subproject commit 648bfcf647b2e358440507be6b5f17030f9a7212 diff --git a/oRTP b/oRTP index b9b53eed..18eccd4f 160000 --- a/oRTP +++ b/oRTP @@ -1 +1 @@ -Subproject commit b9b53eedef812b44762976617840c2b98fca62b9 +Subproject commit 18eccd4f3af64f3bd5293d635a1a169dc77c92ad -- 2.39.2