ekiga r7726 - in trunk: . lib/engine/components/ptlib
- From: dsandras svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r7726 - in trunk: . lib/engine/components/ptlib
- Date: Sat, 7 Mar 2009 14:19:09 +0000 (UTC)
Author: dsandras
Date: Sat Mar 7 14:19:09 2009
New Revision: 7726
URL: http://svn.gnome.org/viewvc/ekiga?rev=7726&view=rev
Log:
Do not try writing 0 bytes to the soundcard.
Modified:
trunk/ChangeLog
trunk/lib/engine/components/ptlib/audiooutput-manager-ptlib.cpp
Modified: trunk/lib/engine/components/ptlib/audiooutput-manager-ptlib.cpp
==============================================================================
--- trunk/lib/engine/components/ptlib/audiooutput-manager-ptlib.cpp (original)
+++ trunk/lib/engine/components/ptlib/audiooutput-manager-ptlib.cpp Sat Mar 7 14:19:09 2009
@@ -172,7 +172,8 @@
}
if (output_device[ps]) {
- ret = output_device[ps]->Write ((void*)data, size);
+ if (size != 0)
+ ret = output_device[ps]->Write ((void*)data, size);
if (ret) {
bytes_written = output_device[ps]->GetLastWriteCount();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]