Douglas Handy a �crit :

> >Looks like Luc has the better solution.
>
> If you go back in this thread, you'll discover that those preferences are cached
> by the OS and only read after a reset.  Changing the preferences has no effect
> unless you also cause a soft reset.
>
> That is what Meg is trying to avoid.  She already tried the preference thing.
> That's how the thread got started.

I had originally used SndSetDefaultVolume in my homemade SysBeep function to be able
to play a system sound via SndPlaySystemSound (SndDoCmd is not very convenient for
that - you have to compose your sounds) at a user-set application-specific volume
level, independent of the system-wide volume level. When I later learned
SndSetDefaultVolume was banned in OS 5, I switched to PrfSetPreference, but I hadn't
tested it so far, thus not noticing this cache effect.

It's too bad Palm made the sysClick sound associated with the system volume level: I
for one wish to hear the error beeps, but I hate that click ever time the screen
gets tapped. Alas, both come together. That's why I have this app sound level.

As for testing with POSE with sound enabled, those tap clicks produce a horrible
speaker spark when processed by my sound card. Is there a way to re-direct them to
the motherboard speaker, as if there were no sound card (under Win98), to get a
normal sound?


--
Luc Le Blanc



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to