forked from mirrors/linphone-iphone
fix bug when fail to open sound cards
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@178 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
77dbf60150
commit
855c950280
1 changed files with 1 additions and 1 deletions
|
|
@ -397,7 +397,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