×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Apr 2009
    Posts
    17

    AAC failure using CMMFDevSound on E71 device

    Hello,

    My application uses the CMMFDevSound class to play back AAC audio. The code works well on the N95 device, but fails the InitializeL call on the E71 with a KErrNotFound (-1) error:

    TRAPD(err, iDevSound->InitializeL(*this, KMMFFourCCCodeAAC, EMMFStatePlaying));

    The InitializeComplete callback in the MDevSoundObserver instance is not called either.

    The failure is a little odd, because the GetSupportedInputDataTypesL and "Find" call succeeds on the E71:

    priority.iPriority = 100;
    priority.iPref = EMdaPriorityPreferenceTimeAndQuality;
    priority.iState = EMMFStatePlaying;
    TRAPD(err, iDevSound->GetSupportedInputDataTypesL(types, priority));
    TRAPD(err2, types.Find(KMMFFourCCCodeAAC));

    I know the E71 has an on-board AAC decoder. Is there a different initialization sequence required for this device?

    Thanks,
    Brian

  2. #2
    Nokia Developer Champion
    Join Date
    Jul 2007
    Location
    ShenZhen, China
    Posts
    4,346

    Re: AAC failure using CMMFDevSound on E71 device

    it seems that you need use CMMFCodec decode aac audio.
    search wiki or dibo find more.
    ----------------------------
    坚持学习, 坚持编码
    http://www.devdiv.net/
    qxiaoyuan

  3. #3
    Registered User
    Join Date
    Apr 2009
    Posts
    17

    Re: AAC failure using CMMFDevSound on E71 device

    qxiaoyuan -

    Thank you for your reply.

    I have looked through the CMMFCodec interface and understand how it works. But I wanted to double check that there really isn't a way to support AAC audio playback on the E71 using the CMMFDevSound approach. Using CMMFDevSound works great for MP3 on both the N95 and E71, so it seems a little odd that AAC doesn't work on the E71 but works fine on the N95...

    - Brian

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,570

    Re: AAC failure using CMMFDevSound on E71 device


Similar Threads

  1. Switching back to Series 60 SDK v1.2, Builder X
    By fabiano_pmj in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2005-01-19, 17:11
  2. Bluetooth discovery with device scanning
    By arto_koskela in forum Symbian
    Replies: 2
    Last Post: 2004-09-10, 08:40
  3. Device discovery for connected device
    By ilotsala in forum Bluetooth Technology
    Replies: 3
    Last Post: 2004-07-21, 08:03
  4. How can i send TInt from one device to another device vai BT
    By ekramulhuq in forum Bluetooth Technology
    Replies: 1
    Last Post: 2003-07-31, 12:32
  5. device name is still not changing?.why nobody is replying back
    By amitagrawal78 in forum Bluetooth Technology
    Replies: 0
    Last Post: 2002-10-18, 13:17

Posting Permissions

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