×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    10

    A couple of questions about audio playing.

    Hi everybody,

    I'm just curious about one thing, what's the difference between playing audio data(say, read from a wav/pcm file) throught CMdaAudioOutputStream and CMdaAudioPlayerUtility? I've seen plenty of tutorials on this topic, but cant really get which is the better/faster from these.

    Another question is whether I can play 2 or more sound in a time on a symbian device? (i.e. I create 2 or more CMdaAudioOutputStream/CMdaAudioPlayerUtility and call Play on each of them) Will the sounds be mixed properly?

    Thanks a lot for your time spent on reading this post and looking forward to your answers

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

    Re: A couple of questions about audio playing.

    with the CMdaAudioPlayerUtility, you can play files & buffers with multiple different audio formats. With streams you need to use PCM (or convert to the PCM before playing it).

    No, you can not use two players at the same time, you need to mix the sound by your self before playing it. There is a tutorial of doing this that can be found from newlc.com's web pages.

    yucca

  3. #3
    Registered User
    Join Date
    Nov 2005
    Posts
    10

    Re: A couple of questions about audio playing.

    Thanks a lot for your explanation. It's clear for me now.
    I searched NewLC and found http://newlc.com/article.php3?id_article=113 , I think this is the one you meant, isn't it?

  4. #4
    Registered User
    Join Date
    Feb 2006
    Posts
    9

    Re: A couple of questions about audio playing.

    Hi, I have the question about this topic.
    What is the difference between the CMMFDevSound and CMdaAudioOutputStream ? In SDK, I found they all can play audio data in pcm format. Which one is faster? and Which one is lower cost on CPU?

    I think the CMdaAudioOutputStream is only a encapsulation of CMMFDevSound. Right?

Similar Threads

  1. Audio playing over RTP on 6600 and 6620.
    By ravinathwani in forum Symbian Media (Closed)
    Replies: 5
    Last Post: 2008-05-24, 09:49
  2. Playing audio streaming from small chunks.
    By khurshed79 in forum Symbian
    Replies: 1
    Last Post: 2007-07-09, 09:49
  3. Problems playing some wav audio formats using MMAPI (WTK22)
    By sandromancuso in forum Mobile Java General
    Replies: 0
    Last Post: 2005-01-18, 17:03
  4. Audio Playing on phone : Query
    By sshuhangi in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2003-07-04, 06:30
  5. Audio in VIDEO PLAYING in midlet
    By rossottom in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2003-05-13, 17:08

Posting Permissions

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