diff --git a/sflphone-client-gnome/src/dbus/dbus.c b/sflphone-client-gnome/src/dbus/dbus.c index 33f04afbb969628617d4ff6671aa14831577412a..0ab683b2c7a7a8fb13514a6dfe8782372fe832d3 100644 --- a/sflphone-client-gnome/src/dbus/dbus.c +++ b/sflphone-client-gnome/src/dbus/dbus.c @@ -489,8 +489,23 @@ conference_removed_cb (DBusGProxy *proxy UNUSED, const gchar* confID, void * foo static void record_playback_filepath_cb (DBusGProxy *proxy UNUSED, const gchar *id, const gchar *filepath) { + callable_obj_t *call = NULL; + conference_obj_t *conf = NULL; + DEBUG("DBUS: Filepath for call %s: %s", id, filepath); - + + call = calllist_get_call(current_calls, id); + conf = conferencelist_get(current_calls, id); + + if(call) { + if(call->_recordfile == NULL) + call->_recordfile = g_strdup(filepath); + } + else if(conf) { + if(conf->_recordfile == NULL) + conf->_recordfile = g_strdup(filepath); + } + } diff --git a/sflphone-common/src/audio/recordable.cpp b/sflphone-common/src/audio/recordable.cpp index 33a1d466e0d3204fda5faadf5b5dd1b6142cb39b..c1be5447d54960e4da27cbbd1041ec8c622abe93 100644 --- a/sflphone-common/src/audio/recordable.cpp +++ b/sflphone-common/src/audio/recordable.cpp @@ -58,12 +58,9 @@ std::string Recordable::getFileName() return recAudio.getFileName(); } - void Recordable::setRecordingSmplRate (int smplRate) { - recAudio.setSndSamplingRate (smplRate); - } int Recordable::getRecordingSmplRate() const