|Subject:||[Linphone-developers] WINSND overrun|
|Date:||Fri, 16 Jul 2010 08:33:17 +0200|
We’re having issues with sound buffer overruns on some (rather old) computers. When this happens mediastreamer tries to reset the card but it doesn’t start to play afterwards because nbufs_playing never hits 0.
It’s somewhat difficult to reproduce so I have been trying to analyze the relevant code (winsnd3.c, winsnd_write_process(…) ) and I believe that there’s a missing break statement after line 618.
/* no more free wavheader, overrun !*/
ms_warning("WINSND overrun, restarting");
Since there’s no break at the end of this else-clause the enclosing loop will continue and subsequent iteration will do a playout_buf() on an occupied wavheader.
Can someone confirm or refute my suspicions?
|[Prev in Thread]||Current Thread||[Next in Thread]|