fix for S^2 builds
authorJohn Kern <johnk@symbian.org>
Tue, 08 Dec 2009 11:07:49 -0800
changeset 21 8374da225e88
parent 20 3bf560f85513
child 30 ebe5f1b0149a
fix for S^2 builds
baseport/syborg/soundsc/shared_sound.h
baseport/syborg/soundsc/shared_txsound.cpp
--- a/baseport/syborg/soundsc/shared_sound.h	Thu Nov 12 14:39:23 2009 -0800
+++ b/baseport/syborg/soundsc/shared_sound.h	Tue Dec 08 11:07:49 2009 -0800
@@ -51,6 +51,11 @@
 	void Callback(TUint aTransferID, TInt aTransferResult, TInt aBytesTransferred);
 
 	void SetCaps();
+        // There was a change in the signature for DfcQ() which
+        // is a pure virtual method in the parent.
+        //  for Symbian^2
+        TDfcQue* DfcQ();
+        //  for Symbian^3
 	TDfcQue* DfcQ(TInt aUnit);
 	
 	TInt CalculateBufferTime(TInt aNumBytes);
--- a/baseport/syborg/soundsc/shared_txsound.cpp	Thu Nov 12 14:39:23 2009 -0800
+++ b/baseport/syborg/soundsc/shared_txsound.cpp	Tue Dec 08 11:07:49 2009 -0800
@@ -249,10 +249,14 @@
 	}
 
 TDfcQue*DDriverSyborgSoundScPdd::DfcQ(TInt /* aUnit*/ )
-	{
-	return iPhysicalDevice->iDfcQ;
-	}
+        {
+        return this->DfcQ();
+        }
 
+TDfcQue*DDriverSyborgSoundScPdd::DfcQ()
+        {
+        return iPhysicalDevice->iDfcQ;
+        }
 
 TInt DDriverSyborgSoundScPdd::MaxTransferLen() const
 	{