×

Discussion Board

Results 1 to 4 of 4

Hybrid View

  1. #1
    Regular Contributor
    Join Date
    May 2004
    Location
    Mumbai
    Posts
    58

    how to package wav files? (urgent)

    Hi all,

    I m developing an audio module wherein i need to package wav files with the application. I m writing the code for the same in bld.inf file under the caption PRJ_EXPORTS and also providing the SOURCEPATH AND RESOURCE attributes in the .mmp files. but i m not able to play the sound on the device (7610).

    Following is my code in the bld.inf

    PRJ_EXPORTS

    ..\wav\play.wav ..\wins\c\system\apps\sound\play.wav
    ..\wav\record.wav ..\wins\c\system\apps\sound\record.wav
    ..\wav\mainstream.wav ..\wins\c\system\apps\sound\mainstream.wav

    Can anyone pls hlp me as to wat i shud specify in the .inf and .mmp files so that the sound plays on the device.

    pls note that the code works verywell with the emulator and i m able to play sound on emulator.

    Thanking in advance,

    -- Gaurav.
    Last edited by gauravgandhi80; 2004-11-22 at 12:45.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167
    maybe you should add the files into the sis file also. othervise the files will not be moved to the device along side with the application files.

    So, when they are not present in the device, they can not be opened, nor played.

    yucca

  3. #3
    Regular Contributor
    Join Date
    May 2004
    Location
    Mumbai
    Posts
    58
    Hi Yucca,

    Thnx for the reply. Thats where the prb is. i will write the code in the pkg file to add the. wav in the sis.

    Thnx.

    -- Gaurav.

  4. #4
    Regular Contributor
    Join Date
    Jul 2003
    Posts
    69

    Re: how to package wav files?

    how to store wav audio file in resource (i am using borland c++ mobile)

    Thanks
    Wael

Posting Permissions

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