×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    28

    Exclamation M4A playing. Is that possible?

    Hi everyone. I've faced the problem m4a playing. I tried to use CMdaAudioOutputStream by setting KMMFFourCCCodeAAC data type but it leaved with KErrNotSupported. Seems like system just has no such codek. But m4a (and other unsupported) are played with standart built in player just fine. Does built-in player just uses some 3rd party functionality or it uses system API? If someone succeeded to play m4a via any system API PLZ HELP!!!

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

    Re: M4A playing. Is that possible?

    KErrNotSupported propably means that the file you are trying to play does not have codecs available in the device.

  3. #3
    Registered User
    Join Date
    Nov 2008
    Posts
    28

    Re: M4A playing. Is that possible?

    Actually KErrNotSupported is thrown even before play attempt. It happens when call CMdaAudioOutputStream::SetDataTypeL. Seems like even KMMFFourCCCodeAAC value is not supported o_O

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: M4A playing. Is that possible?

    Which built-in player do you mean?

  5. #5
    Registered User
    Join Date
    Nov 2008
    Posts
    28

    Re: M4A playing. Is that possible?

    Default system player. It can be launched by selecting any music file in file manager.

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

    Re: M4A playing. Is that possible?

    ok, I'm not so certain on streaming APIs format supports, so can you use normal file-based audio players instead ?

  7. #7
    Registered User
    Join Date
    Nov 2008
    Posts
    28

    Re: M4A playing. Is that possible?

    Nope, the point is to use API and play m4a using custom player.

  8. #8
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: M4A playing. Is that possible?

    Note that there is a music player in the open source Symbian code (http://developer.symbian.org, Source / Browse code), you may get some ideas from it. In the cross-referencer you can also search for KMMFFourCCCodeAAC, and check if it is used somewhere.

  9. #9
    Registered User
    Join Date
    Nov 2008
    Posts
    28

    Re: M4A playing. Is that possible?

    Yeah, but it means to find out how works internal Symbian player and copy all that functionality to my app. At least this is too difficult. Moreover i doubt that there are all LIB files are available for that functionality.

  10. #10
    Registered User
    Join Date
    Nov 2008
    Posts
    28

    Re: M4A playing. Is that possible?

    I'm interested in any public API (available to developer) to be able to play m4a.

Similar Threads

  1. Sound playing consuming memory - J2ME, S40, 6212
    By andrew_d_mackenzie in forum Audio
    Replies: 2
    Last Post: 2010-09-26, 18:47
  2. amr file not playing full
    By S.S.Sudhakar in forum Symbian
    Replies: 9
    Last Post: 2008-01-17, 11:22
  3. m4a metadata
    By sunita_r in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2007-05-25, 07:38
  4. Replies: 1
    Last Post: 2006-11-30, 04:16
  5. Replies: 0
    Last Post: 2006-11-28, 16:39

Posting Permissions

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