baseport/syborg/soundsc/shared_txsound.cpp
changeset 72 d00bf4f57250
parent 45 01c1ffcc4fca
--- a/baseport/syborg/soundsc/shared_txsound.cpp	Mon May 10 11:37:38 2010 +0100
+++ b/baseport/syborg/soundsc/shared_txsound.cpp	Wed May 12 23:13:16 2010 +0100
@@ -92,6 +92,11 @@
 	
 	iAudioControl = new Audio::DControl( *iIoHandler, iDataQueueId );
 	iAudioControl->Construct();
+	Audio::StreamDirection direction = static_cast<Audio::StreamDirection>(
+		(iUnitType == KSoundScRxUnit0)?Audio::EDirectionRecord
+		:(iUnitType == KSoundScTxUnit0)?Audio::EDirectionPlayback:-1 ); 
+        
+        iAudioControl->Setup( direction, 2, Audio::EFormatS16, 48000 );
 		
 	return KErrNone;
 	}