×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Feb 2010
    Posts
    6

    Problems with playing a wave file

    Hi,

    I am trying to play a wave file with the CMdaAudioPlayerUtility. The fact is that nothing happens the program just continues without playing the file. After some testing I found out that MapcInitComplete does not get called, so for my code checking if it got called skips the playback. I even tried implementing a loop that waits for the procedure to get called (in case it's taking some more time), but all I got is a endless loop now.

    Any ideas what's wrong?

    PS.:I'm using 5th Edition and the Simulator for now.

    Greetings CK

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,168

    Re: Problems with playing a wave file

    basically you can not have loops, loops would prevent any other active object for being run, so try implementing all parts with real active objects and do not use WaitForRequest either, and see if there is any difference on operations.

  3. #3
    Registered User
    Join Date
    Feb 2010
    Posts
    6

    Re: Problems with playing a wave file

    Thanks for your response, but I do not see how i should accomplish this right now. Can you nudge me into the direction of helpsite or give me a quick example? And do i have to send my main program to sleep for some time, or how do I let the Player time initialize itself?

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,168

    Re: Problems with playing a wave file

    basically, do not se sleeps, delays, loops, basically if you just start play and respond on the callback functions if needed.

  5. #5
    Super Contributor
    Join Date
    Jul 2008
    Posts
    2,020

    Re: Problems with playing a wave file

    Just use Nokia's Sound Mixer Example 2.1.
    The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
    http://www.tamoggemon.com - Symbian blog - Windows Phone blog
    My other blogs:
    webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog

Similar Threads

  1. Problem with pyobfuscate
    By JOM in forum Symbian
    Replies: 3
    Last Post: 2008-06-20, 22:47
  2. Problems when view saved file
    By Schonfeldt in forum Symbian Media (Closed)
    Replies: 3
    Last Post: 2007-12-12, 14:16
  3. Help me Playing Wave File
    By Triple S in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2007-11-03, 18:35
  4. Help needed with a 3gp file...
    By joedoe_1981 in forum Streaming and Video
    Replies: 0
    Last Post: 2007-07-18, 18:58
  5. Replies: 1
    Last Post: 2002-09-23, 10:52

Posting Permissions

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