PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

GapiDraw and CActive

ten foot ninja · 24 Apr 2006, 22:11 UTC
Hello,
I'm creating sound for my symbianOS game currently and am having some problems with the Symbian6.1 platform and sound.

i'm using CMdaAudioOutputStream, when i open a stream using this object, MaoscOpenComplete() is supposed to get called. This doesn't always happen in the 6.1 emulator, and rarely happens on my 3650 (though it works wonderfully on my 6670, which uses SOS7.0).

i've posted on a few forums and they seem to think an activeScheduler is somehow messing things up. Does GapiDraw use any active objects? has anyone else encountered this problem?

Thanks for any help in advance!
ten foot ninja · 22 May 2006, 17:14 UTC
though gapidraw uses cactive, the problem i had was resolved by calling CActiveScheduler::Start() once i open()'ed the CMdaAudioOutputStream, and also setting up my audio stuff in InitInstance(), not the CGapiApplication constructor (seems as though the active scheduler isn't set up or something at that stage)
Thanks for the info! I'll make this post sticky! :-)