the volume is ok.
i know that smfP is a pointer to the start of the midi file (it written in
the help), my question is how can i get the pointer to the midi file (that
is right now, an alarm in the system).
i don't know how i reach it, and point to the alarm.

thanks,
shay

"Nesse, Rustin" <[EMAIL PROTECTED]> wrote in message
news:19676@palm-dev-forum...
>
> 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/

Reply via email to