Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Problem in Loading Audio driver

1 replies · 2,335 views · Started 09 December 2004

Hi All,
I am facing one problem in loading the physical and logical device in UIQ application. Every time i try to load a device, using LoadPhysicalDevice() and LoadLogicalDevice(), it returns with the error code "KAlreadyExists"....... i guess UIQ, while booting, itself loads these devices.......so i just wanted to know that is it not possible to load audio driver separately in my application in UIQ. If possible, then how can i do this???

Earlier i was using techview and in that its possible because techview does not load audio driver while booting.

Has anybody faced this problem earlier???

I would highly appreciate any suggestions on this regard.

Thanks
Pinky

Hi Pinky,

Sometimes, drivers are already loaded
You can add the condition as

nLoadStatus = Load Driver
if( (nLoadStatus !=KErrNone) && (nLoadStatus !=KErrAlreadyExists))
{
go ahead
}

I guess its fine doing this.