Discussion Board
how to package wav files? (urgent)
2004-11-22, 12:07
#1
Regular Contributor
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 .
Nokia Developer Expert
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
Regular Contributor
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.
Re: how to package wav files?
2005-10-30, 23:36
#4
Regular Contributor
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
Forum Rules