Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User sameet's Avatar
    Join Date
    Jul 2004
    Posts
    22
    Hi,

    I am using CMdaAudioOutputStream to play AAC and MP3 audio using the FP3 SDK. Passing the respective FourCC codes to the its SetDataTypeL() function seems to do the job for these types of the audio without the need to decode them to PCM16.

    Is it possible to do the same, in case of the mp4 and 3gp formats containing AAC+ or eAAC+ encoded audio? If yes, then what is the technique? What are the supported FourCC codes for these?

    Best Regards,
    Sameet.
    Last edited by sameet; 2006-02-17 at 14:32.

  2. #2
    Regular Contributor nmittal's Avatar
    Join Date
    Mar 2003
    Posts
    393
    Hi,

    eAAC+ andAAC+ are added in S60 3rd edition.

    Regards,
    Nitin

  3. #3
    Registered User sameet's Avatar
    Join Date
    Jul 2004
    Posts
    22
    Hi,

    Thanks for the reply.

    This link from forum nokia
    http://forum.nokia.com/main/0,,018-2...html?model=n70
    claims that the N70, which is a FP3 supported device, can play the AAC+ and eAAC+ formats.

    Anyway, in case of any device supporting these formats, what is the technique for getting the CMdaAudioOutputstream to decode and play them, the way it does the AAC and MP3 formats.

    This link
    http://forum.nokia.com/main/1,6566,1_3,00.html
    mentions that these formats are supported only when contained in mp4 or 3gp formats, in which case what are the supported FourCC codes that can be passed to the CMdaAudioOutputStream to have it decode and play them? If at all it is possible that is. (The FourCC codes to use for these formats haven't been mentioned in any of the SDKs including the 3rd edition, but the codes for MP3 and AAC have).

    Best Regards,
    Sameet.

  4. #4
    Regular Contributor arunnrnair's Avatar
    Join Date
    Aug 2006
    Location
    Bangalore, India
    Posts
    56
    Hello
    I am Arun.I tried the same with SetDataTypeL(KMMFFourCCCodeMP3) but this left with KErrNotSupported and I have to use CMMFCodec to convert. Can kindly tell me, how SetDataTypeL method worked for you

  5. #5
    Registered User sameet's Avatar
    Join Date
    Jul 2004
    Posts
    22
    Hi Arun,

    Which SDK did you build it with and on which device did you run this test?

  6. #6
    Regular Contributor arunnrnair's Avatar
    Join Date
    Aug 2006
    Location
    Bangalore, India
    Posts
    56
    Hello I am Arun again,
    I am using s60 3rd edition sdk. I found that SetDataTypeL method is leaving with error code -5 which indicates KErrNotSupported.The code worked for formats similiar to PCM like a wav, but for formats like mp3,aac etc it left.
    So I tried to convert Mp3 to pcm16 using by cmmfcodec and then play using CMdaAudioOutputStream. I would like to know how you used the method?

  7. #7
    Registered User sameet's Avatar
    Join Date
    Jul 2004
    Posts
    22
    Hi,

    Did you test it on the device? The SetDataTypeL() for mp3 etc. may not work on the emulator, but will on devices (that support these formats, and mostly all 3rd edition devices do).

    Best Regards,
    Sameet.

Similar Threads

  1. Recording in Amr Format
    By losym in forum Symbian Media (Closed)
    Replies: 12
    Last Post: 2009-03-26, 06:41
  2. Replies: 1
    Last Post: 2005-09-12, 07:36
  3. How to continuously play using CMdaAudioOutputStream?
    By khurshed79 in forum Symbian C++
    Replies: 2
    Last Post: 2005-09-08, 10:40
  4. AAC Streaming possible??
    By tknerr in forum General Development Questions
    Replies: 0
    Last Post: 2005-07-23, 12:15
  5. Streaming AAC Audio possible?
    By tknerr in forum Streaming and Video
    Replies: 0
    Last Post: 2005-07-23, 12:13

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