Author: janderwald
Date: Tue Apr 28 02:43:08 2009
New Revision: 40715
URL:
http://svn.reactos.org/svn/reactos?rev=40715&view=rev
Log:
- Remove test code which should never have come into trunk
Modified:
trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_wavecyclic.c
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_wavecyclic.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_wavecyclic.c [iso-8859-1]
(original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_wavecyclic.c [iso-8859-1] Tue Apr
28 02:43:08 2009
@@ -124,8 +124,6 @@
ULONG BufferSize;
PUCHAR Buffer;
NTSTATUS Status;
- PUSHORT Data;
- ULONG Index;
BufferLength = Position - This->CommonBufferOffset;
while(BufferLength)
@@ -146,10 +144,6 @@
}
else
{
- Data = (PUSHORT)Buffer;
- for(Index = 0; Index < BytesToCopy / sizeof(USHORT); Index++)
- Data[Index] = Data[Index] + 32768;
-
This->DmaChannel->lpVtbl->CopyTo(This->DmaChannel,
(PUCHAR)This->CommonBuffer +
This->CommonBufferOffset,
Buffer,
@@ -174,8 +168,7 @@
ULONG BufferSize;
PUCHAR Buffer;
NTSTATUS Status;
- PUSHORT Data;
- ULONG Index;
+
BufferLength = This->CommonBufferSize - This->CommonBufferOffset;
while(BufferLength)
@@ -195,10 +188,6 @@
}
else
{
- Data = (PUSHORT)Buffer;
- for(Index = 0; Index < BytesToCopy / sizeof(USHORT); Index++)
- Data[Index] = Data[Index] + 32768;
-
This->DmaChannel->lpVtbl->CopyTo(This->DmaChannel,
(PUCHAR)This->CommonBuffer +
This->CommonBufferOffset,
Buffer,