×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Regular Contributor
    Join Date
    Aug 2009
    Posts
    80

    how to play a predefined audio file?

    Hello Everyone,

    I m looking for a simple example/coding to play a audio file(.amr).Just need to play only predefined .amr file when my program is running.Not need to pause/stop/forward/record function.only need just play.

    I already search example in wiki. but those example based on full audio stream which has included play/record/stop..etc also difficult for me.so at this moment simply i just only need a play functions such that my program is open and then play a audio(predefined) file automatically.

    So there is any example just only play a predefined audio file?

    Thanks
    Sabera

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

    Re: how to play a predefined audio file?

    wiki would always be a good place to search examples from, here's one link to get started: http://wiki.forum.nokia.com/index.ph..._Playback_APIs

  3. #3
    Regular Contributor
    Join Date
    Aug 2009
    Posts
    80

    Re: how to play a predefined audio file?

    Any specific code example avaliable based on my requirment?

    Thanks
    Sabera

  4. #4
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: how to play a predefined audio file?

    I think the CMdaAudioPlayerUtility is simplest one, so you should be able to handle the just playing part with it.

  5. #5

  6. #6
    Regular Contributor
    Join Date
    Aug 2009
    Posts
    80

    Re: how to play a predefined audio file?

    Thanks a lot KKrish...I am able to configure this into my program and its work. Mp3 format also work in CMdaAudioPlayerUtility.

    Regards
    Sabera

  7. #7
    Regular Contributor
    Join Date
    Aug 2009
    Posts
    80

    Re: how to play a predefined audio file?

    Audio portion has been solved.I can easily implement .mp3/.wav/.amr audio file into my program and also work.

    Now I m asking about Video playing. Just want to play predefined .mp4/.3gp format using Videoplayback API. Plz give me any tutorial/code link where describe how to play a video file.

    Thanks
    Sabera

  8. #8
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: how to play a predefined audio file?

    you could maybe also try searching it from wiki & examples section..

  9. #9
    Registered User
    Join Date
    Jun 2008
    Location
    India
    Posts
    1,048

    Re: how to play a predefined audio file?

    Quote Originally Posted by sabera_mina View Post
    Audio portion has been solved.I can easily implement .mp3/.wav/.amr audio file into my program and also work.

    Now I m asking about Video playing. Just want to play predefined .mp4/.3gp format using Videoplayback API. Plz give me any tutorial/code link where describe how to play a video file.

    Thanks
    Sabera
    This is the simplest example to playing predefined video file.

    http://wiki.forum.nokia.com/index.ph...oPlayerUtility

  10. #10
    Regular Contributor
    Join Date
    Aug 2009
    Posts
    80

    Re: how to play a predefined audio file?

    Quote Originally Posted by sumit.rathi View Post
    This is the simplest example to playing predefined video file.

    http://wiki.forum.nokia.com/index.ph...oPlayerUtility
    Thanks..Basically i want to play video in openGLES enviroment. Such that I have to implement video play coding in openGLES envirment(openGLES examples of nokia openGES plugin). Another thing as openGLES program already have container.cpp defined so here is it neccessary to change this container.cpp like MediaContainer.cpp done in that wiki example? or I don't need to change my original container.cpp file as my program(also conatiner.cpp) based on openGLES.

    Regards
    Sabera

Similar Threads

  1. Replies: 19
    Last Post: 2010-10-19, 11:30
  2. Problem with GCCE build in Carbide.vs
    By raffaelbechara in forum Symbian
    Replies: 6
    Last Post: 2008-10-20, 16:06
  3. Play Audio file problem
    By Aliencse in forum Symbian Media (Closed)
    Replies: 21
    Last Post: 2008-09-16, 14:12
  4. Replies: 2
    Last Post: 2008-02-20, 08:42
  5. unable to play the rm file
    By sunnie_y2s00 in forum Symbian Media (Closed)
    Replies: 5
    Last Post: 2007-06-02, 09:16

Posting Permissions

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