[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-datatype-cvs
Subject:    [Datatype-cvs] wav/fileformat wvffplin.cpp,1.12,1.12.2.1
From:       stanb () helixcommunity ! org
Date:       2009-09-25 21:37:50
Message-ID: 200909252247.n8PMlQdq016062 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/datatype/wav/fileformat
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv22633/fileformat

Modified Files:
      Tag: hxclient_3_1_0_atlas
	wvffplin.cpp 
Log Message:
Fixes alowing to use DTDR for WAV file editing.


Index: wvffplin.cpp
===================================================================
RCS file: /cvsroot/datatype/wav/fileformat/wvffplin.cpp,v
retrieving revision 1.12
retrieving revision 1.12.2.1
diff -u -d -r1.12 -r1.12.2.1
--- wvffplin.cpp	4 May 2007 02:52:03 -0000	1.12
+++ wvffplin.cpp	25 Sep 2009 21:37:48 -0000	1.12.2.1
@@ -177,6 +177,7 @@
 		, m_packetFormat(PFMT_RTP)
 		, m_pPayloadFormat(NULL)
 		, m_bSwapSamples(FALSE)
+                , m_ASMFlags(HX_ASM_SWITCH_ON)
 {
 }
 
@@ -1137,6 +1138,8 @@
 		// This wave file is raw PCM //
 		///////////////////////////////
 
+                m_ASMFlags |= HX_ASM_SWITCH_OFF;
+
 		// Don't set any opaque data
 		HX_RELEASE(pHeaderBuf);
 
@@ -1547,7 +1550,7 @@
 		}
 
 		// Fill in the Packet with the relevant data...
-		pPacket->Set(pBuffer,ulPacketTime,0,HX_ASM_SWITCH_ON,0);
+		pPacket->Set(pBuffer,ulPacketTime,0,m_ASMFlags,0);
 		HX_RELEASE(pBuffer);
 
 		// How often do we deliver packets?


_______________________________________________
Datatype-cvs mailing list
Datatype-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic