Hi all,

I'm trying to get my app to play 3 notes (something like the Hotsync when it
starts and ends). I've the following code:

  SndCommandType  snd;

  snd.cmd = sndCmdFrqOn;
  snd.param1 = 2400;
  snd.param2 = 150;
  snd.param3 = sndMaxAmp;
  SndDoCmd(NULL, &snd, false);

  snd.cmd = sndCmdFrqOn;
  snd.param1 = 1500;
  snd.param2 = 100;
  snd.param3 = sndMaxAmp;
  SndDoCmd(NULL, &snd, false);

  snd.cmd = sndCmdFrqOn;
  snd.param1 = 2000;
  snd.param2 = 200;
  snd.param3 = sndMaxAmp;
  SndDoCmd(NULL, &snd, false);

When I test it on the emulator (with sound enabled), it played all 3 notes
fine. However, when I test it on a real device, only 1 note gets played. Am
I doing things correctly? Or what other things should I do? Any help is
greatly appreciated, thanks!

Regards,
Gee.



-- 
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