[PORTCLS]

- Use silence buffer when no audio buffers are available. Replaces the endless disturbing sound loop.
- Sound still broken

svn path=/trunk/; revision=45358
This commit is contained in:
Johannes Anderwald 2010-01-31 15:32:31 +00:00
parent c40a4a58a0
commit 6fd5a51915

View file

@ -267,7 +267,6 @@ CIrpQueue::GetMapping(
if (!Irp)
{
DPRINT("NoIrp\n");
return STATUS_UNSUCCESSFUL;
// no irp available, use silence buffer
*Buffer = (PUCHAR)m_SilenceBuffer;
*BufferSize = m_MaxFrameSize;