HI,

I have CW 7.0 and not 8.  After import of the xml file in the project
settings under
"68K Target" it shows Project type = "Application" and not "PalmOS
Application".
I got it compile if I switch it to "PalmOS application". Not sure if this is
correct.

Anyways, to get it work on the simulator you will need to install the
simulator HOSTFS app that
Is on the PalmOS site. The .raw sound files must be in /Palm folder and in
the source
Starter.c you will have to add the "/palm/" to the file name otherwise it
will give you
Error that the file can't be found.  This is how I got it to work.

Here is where the error occurs.

        result = SndStreamCreate(
                &(callbackDataP->streamRef),
                sndOutput,
                sampleRate,
                sndInt16Little,
                sampleWidth,
                readCallbackFunc,
                callbackDataP,
                REQUESTED_BUFFER_SIZE,
                false);
        ErrNonFatalDisplayIf( (result != errNone), "Can't create sound
stream.");

Regards,

danny

-----Original Message-----
From: Chris Cutler [mailto:cutler@;bluemug.com] 
Sent: October 30, 2002 11:28 AM
To: Palm Developer Forum
Subject: Re: PalmOS5 sound example not working


Danny,

I tried the VFS sound example a few weeks ago and didn't have any trouble
compiling it (the xml file imported fine into CW8) but couldn't ever figure
out just how to simulate a VFS filesystem in the Palm OS 5 simulator (if you
search the archives of this list you may find my questions on this subject).
If you give me a bit more information about 
the error you are running into, perhaps I can at least get you to the point
I reached (if you aren't there already).  

-chris

Danny Wong wrote: 
> HI,
> 
> I've downloaded the VFS sound example from the PalmOS site and Can't 
> compile it.  It gave me errors after I imported the xml file. I did 
> manage to create a new project and copy the source to it and Compiled 
> it.  When I launch the example it says it can't create sound. Anyone 
> have a working example?
> 
> Thanks
> 
> --
> 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/

Reply via email to