equal
deleted
inserted
replaced
90 iIoHandler->RegisterClient( this ); |
90 iIoHandler->RegisterClient( this ); |
91 SYBORG_SOUND_DEBUG("Registered with IoHandler... Done %x", iIoHandler); |
91 SYBORG_SOUND_DEBUG("Registered with IoHandler... Done %x", iIoHandler); |
92 |
92 |
93 iAudioControl = new Audio::DControl( *iIoHandler, iDataQueueId ); |
93 iAudioControl = new Audio::DControl( *iIoHandler, iDataQueueId ); |
94 iAudioControl->Construct(); |
94 iAudioControl->Construct(); |
|
95 Audio::StreamDirection direction = static_cast<Audio::StreamDirection>( |
|
96 (iUnitType == KSoundScRxUnit0)?Audio::EDirectionRecord |
|
97 :(iUnitType == KSoundScTxUnit0)?Audio::EDirectionPlayback:-1 ); |
|
98 |
|
99 iAudioControl->Setup( direction, 2, Audio::EFormatS16, 48000 ); |
95 |
100 |
96 return KErrNone; |
101 return KErrNone; |
97 } |
102 } |
98 |
103 |
99 void DDriverSyborgSoundScPdd::GetChunkCreateInfo(TChunkCreateInfo& aChunkCreateInfo) |
104 void DDriverSyborgSoundScPdd::GetChunkCreateInfo(TChunkCreateInfo& aChunkCreateInfo) |