mpxplugins/serviceplugins/playbackplugins/audioeffects/src/mpxaudioeffectengine.cpp
equal
deleted
inserted
replaced
205 |
205 |
206 if(iProp->Stereo()) |
206 if(iProp->Stereo()) |
207 { |
207 { |
208 if(!iStereoEffect) // If stereo widening is ON and not constructed |
208 if(!iStereoEffect) // If stereo widening is ON and not constructed |
209 { |
209 { |
210 TUint stereoLevel = 100; |
210 TUint stereoLevel = 30; |
211 // cmdUtil ownership passed into new object |
211 // cmdUtil ownership passed into new object |
212 MPX_TRAPD(error, |
212 MPX_TRAPD(error, |
213 iStereoEffect = CStereoWidening::NewL(*iMdaPlayer, |
213 iStereoEffect = CStereoWidening::NewL(*iMdaPlayer, |
214 EFalse, stereoLevel)); |
214 EFalse, stereoLevel)); |
215 if(error) |
215 if(error) |
218 User::Leave(KErrNotSupported); |
218 User::Leave(KErrNotSupported); |
219 } |
219 } |
220 } |
220 } |
221 |
221 |
222 iStereoEffect->EnableL(); |
222 iStereoEffect->EnableL(); |
223 TUint8 level = 100; |
223 TUint8 level = 30; |
224 iStereoEffect->SetStereoWideningLevelL( level ); |
224 iStereoEffect->SetStereoWideningLevelL( level ); |
225 iStereoEffect->ApplyL(); |
225 iStereoEffect->ApplyL(); |
226 } |
226 } |
227 else |
227 else |
228 { |
228 { |