×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    20

    MoscoStateChangeEvent is not triggered after iMdaAudioPlayerUtility->OpenFileL()

    Hello,

    After I open a sound file I am waiting fot the MoscoStateChangeEvent to be triggered but it does not.

    When I minimize my application the event gets triggered.

    How can I solve this problem.

    Thank you.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,751

    Re: MoscoStateChangeEvent is not triggered after iMdaAudioPlayerUtility->OpenFileL()

    Do you happen to keep the system busy when your application is in foreground?

  3. #3
    Registered User
    Join Date
    Nov 2007
    Posts
    20

    Re: MoscoStateChangeEvent is not triggered after iMdaAudioPlayerUtility->OpenFileL()

    It works also when I open a dialog. It in not only about minimizing the application.

    In addition, the priority of the thread is maximum.

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,751

    Re: MoscoStateChangeEvent is not triggered after iMdaAudioPlayerUtility->OpenFileL()

    That may be a problem indeed: the audio data is actually processed by the Multimedia Server, in a completely different process+thread. If yours is heavily using the CPU, others can not.
    A thing I do not really understand in this thread is that the name "iMdaAudioPlayerUtility" suggests that you are using CMdaAudioPlayerUtility, while MMdaObjectStateChangeObserver and MoscoStateChangeEvent are not used by this particular class.

Similar Threads

  1. Replies: 7
    Last Post: 2008-12-09, 06:54
  2. function MoscoStateChangeEvent
    By fgmez in forum Symbian
    Replies: 1
    Last Post: 2003-12-04, 03:09
  3. Security call when triggered
    By aritcey in forum Nokia M2M
    Replies: 1
    Last Post: 2003-06-23, 12:13
  4. PC->MMS->Phone->Network->Ph one??
    By tomppo in forum General Messaging
    Replies: 1
    Last Post: 2002-11-29, 05:10

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×