Author: janderwald
Date: Sun Jan 31 16:32:31 2010
New Revision: 45358
URL:
http://svn.reactos.org/svn/reactos?rev=45358&view=rev
Log:
[PORTCLS]
- Use silence buffer when no audio buffers are available. Replaces the endless disturbing
sound loop.
- Sound still broken
Modified:
trunk/reactos/drivers/wdm/audio/backpln/portcls/irpstream.cpp
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/irpstream.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/irpstream.cpp [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/irpstream.cpp [iso-8859-1] Sun Jan 31
16:32:31 2010
@@ -267,7 +267,6 @@
if (!Irp)
{
DPRINT("NoIrp\n");
- return STATUS_UNSUCCESSFUL;
// no irp available, use silence buffer
*Buffer = (PUCHAR)m_SilenceBuffer;
*BufferSize = m_MaxFrameSize;