I tried the DATA resource in PilRC and it worked perfectly. Many thanks,
Eduardo ----- Original Message ----- From: "LeSalle Munroe" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, August 12, 2004 10:46 PM Subject: Re: How do you create a WAV file stored in a resource? > Sorry for not replying sooner, I was away. I have only used constructor to > create wave file in the pass, and then convert the to the pilrc.. My guess > is, you have to use the Data resource under Other, and add the wave file > that way. I will look into this myself and let you know if I find a > solution... > ----- Original Message ----- > From: "Eduardo Martin" <[EMAIL PROTECTED]> > To: "Palm Developer Forum" <[EMAIL PROTECTED]> > Sent: Wednesday, August 11, 2004 4:41 PM > Subject: Re: How do you create a WAV file stored in a resource? > > > > Munroe, > > > > I use PilRC designer to create my resources but I don't see an option for > > WAV files. Is it called something else in PilRC, I'm using PilRC version > > 2.1.3.0 > > > > Thanks, > > > > Eduardo > > ----- Original Message ----- > > From: "LeSalle Munroe" <[EMAIL PROTECTED]> > > To: "Palm Developer Forum" <[EMAIL PROTECTED]> > > Sent: Wednesday, August 11, 2004 2:48 PM > > Subject: Re: How do you create a WAV file stored in a resource? > > > > > > > You have to add the wave file as a resouce using the constructor or the > > > Pilrc designer, then use DmGetResource to get a handle to the file, then > > you > > > can call sndPlayResouces... Hope this helps.... > > > ----- Original Message ----- > > > From: "Eduardo Martin" <[EMAIL PROTECTED]> > > > To: "Palm Developer Forum" <[EMAIL PROTECTED]> > > > Sent: Wednesday, August 11, 2004 9:48 AM > > > Subject: How do you create a WAV file stored in a resource? > > > > > > > > > > Hi folks, > > > > > > > > I'm using the SndPlayResource() function for the first time and it's > not > > > clear to me how to create the WAV resource that needs to be passed to > this > > > funtion. > > > > > > > > Are there any known bugs with this function I should be aware of? > > > > > > > > Thanks, > > > > > > > > Eduardo > > > > -- > > > > For information on using the Palm Developer Forums, or to unsubscribe, > > > please see http://www.palmos.com/dev/support/forums/ > > > > > > > > > > > > > > > > -- > > > For information on using the Palm Developer Forums, or to unsubscribe, > > please see http://www.palmos.com/dev/support/forums/ > > > > > > -- > > For information on using the Palm Developer Forums, or to unsubscribe, > please see http://www.palmos.com/dev/support/forums/ > > > > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
