mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-22 13:48:09 +00:00
fix bug in winsnd3 and flush down log to config storage.
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@790 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
12c17df0a5
commit
91fb61a6f9
2 changed files with 2 additions and 1 deletions
|
|
@ -2927,6 +2927,7 @@ void linphone_core_clear_call_logs(LinphoneCore *lc){
|
|||
lc->missed_calls=0;
|
||||
ms_list_for_each(lc->call_logs,(void (*)(void*))linphone_call_log_destroy);
|
||||
lc->call_logs=ms_list_free(lc->call_logs);
|
||||
call_logs_write_to_config_file(lc);
|
||||
}
|
||||
|
||||
static void toggle_video_preview(LinphoneCore *lc, bool_t val){
|
||||
|
|
|
|||
|
|
@ -361,7 +361,7 @@ static void winsnd_read_preprocess(MSFilter *f){
|
|||
{
|
||||
ms_error("Failed to prepare windows sound device. (waveInOpen:0x%i)", mr);
|
||||
mr = waveInOpen (&d->indev, WAVE_MAPPER, &d->wfx,
|
||||
(DWORD) read_callback, (DWORD)d, CALLBACK_FUNCTION);
|
||||
(DWORD) read_callback, (DWORD)f, CALLBACK_FUNCTION);
|
||||
if (mr != MMSYSERR_NOERROR)
|
||||
{
|
||||
d->indev=NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue