Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User pgk_nokia's Avatar
    Join Date
    Jan 2006
    Posts
    3
    Hi all,

    I've been working on an OpenGLES engine which is now running quite nicely and it's time to add support for sound. Using the MMdaAudioPlayerCallback and CMMFMdaAudioPlayerUtility classes illustrated in the Series60Ex 'sound' example, I can happily play wavs and mp3s. However, there is a delay of about 4 seconds between asking for and hearing the sound.

    These two classes are fine for background audio, and I was impressed that their use with an mp3 audio track has no noticeable effect on the app's frame rate. But the ~4secs delay is of no use for realtime sound effects. Can anyone make a suggestion of a reliable solution for realtime audio?

    Thanking you in advance,
    Paul

  2. #2
    Regular Contributor ptrmn's Avatar
    Join Date
    May 2005
    Location
    Sweden
    Posts
    272
    CMdaAudioOutputStream

  3. #3
    Registered User pgk_nokia's Avatar
    Join Date
    Jan 2006
    Posts
    3
    Thanks. I am now rereading "How to successfully stream audio on Symbian OS v7.0s" ( http://www.symbian.com/developer/tec...bianOSv1.1.pdf ). I have extracted the codes from its appendices into a small test project and began by calling CAudioStreamEngine::NewL(TUint aFrameSize) from the ..Appui::ContructL() method but am unsure of what value to pass for the framesize.

    Has anyone travelled this road before? I would be extremely grateful of any assistance. I will post how I get on in any case.

    Regards,
    Paul

Similar Threads

  1. Sound Effects (tone, not wav) 6610
    By SenseiTG in forum Mobile Java Media (Graphics & Sounds)
    Replies: 6
    Last Post: 2006-05-29, 03:11
  2. Problem with Sound class getState()
    By creepymo in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2005-06-20, 18:43
  3. MIDI Sound problem (J2ME / Series 60)
    By JPapke in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2004-10-29, 08:17
  4. sound bug (possibly) on 6610
    By alex_crowther in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2004-02-05, 11:44
  5. sound effects in 7650
    By killarkai in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2003-06-23, 09:26

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved