baseport/syborg/soundsc/shared_txsound.cpp
changeset 20 3bf560f85513
parent 15 0b7d3b28f025
child 21 8374da225e88
equal deleted inserted replaced
19:05914789ab43 20:3bf560f85513
   271 	if(iUnitType == KSoundScTxUnit0)
   271 	if(iUnitType == KSoundScTxUnit0)
   272 		{
   272 		{
   273 		// The data transfer direction for this unit is play
   273 		// The data transfer direction for this unit is play
   274 		iCaps.iDirection = ESoundDirPlayback;
   274 		iCaps.iDirection = ESoundDirPlayback;
   275 		}
   275 		}
   276 	else if(iUnitType == KSoundScTxUnit0)
   276 	else if(iUnitType == KSoundScRxUnit0)
   277 		{
   277 		{
   278 		// The data transfer direction for this unit is play
   278 		// The data transfer direction for this unit is record 
   279 		iCaps.iDirection = ESoundDirRecord;
   279 		iCaps.iDirection = ESoundDirRecord;
   280 		}
   280 		}
   281 	
   281 	
   282 	// This unit supports both mono and stereo
   282 	// This unit supports both mono and stereo
   283 	iCaps.iChannels = (KSoundMonoChannel | KSoundStereoChannel);
   283 	iCaps.iChannels = (KSoundMonoChannel | KSoundStereoChannel);