Commit 91fb61a6 authored by smorlat's avatar smorlat
Browse files

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
parent 12c17df0
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment