equal
deleted
inserted
replaced
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); |