Well, if the volume isn't turned down, it might be done like this?
error = SndPlaySmf( NULL, sndSmfCmdPlay, smfP, NULL, NULL,
NULL, false );
Where smfP is a pointer to the start of your midi file.
You should really look at the associated structures for those
options I
set as NULL, as the value right after smfP is a structure that contains
values for setting the volume, and the others could come in handy, too.
-Rus
>>-----Original Message-----
>>From: shay [mailto:[EMAIL PROTECTED]]
>>Sent: Wednesday, August 02, 2000 5:02 PM
>>To: Palm Developer Forum
>>Subject: Re: midi sound - how ? (urgent)
>>
>>
>>ok, now i got my midi file (with type 0) into the the palm,
>>the midi is in the alarms (like in the DateBook),
>>so this is why i'm replying to this post
>>
>>questions -
>>1. how do i use the SndPlaySmf, how can i reach my alarm using
>>"smfP" ???
>>2. for some reason i can't hear my alarm, it might be too long
>>? (5k) or
>>what ?
>>
>>shay
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/