>>The Palm OS 5 documentation I have, however, says that you must check
for the Sound Stream Feature Set using this code:
UInt32 version;
Err err;
err = FtrGet(sysFileCSoundMgr, sndFtrIDVersion, &version);
if (err) {
// Sound Stream Feature Set not present
if (err == ftrErrNoSuchFeature) {
FrmCustomAlert(errAlert,"No Stream Manager."," "," ");
} else {
FrmCustomAlert(errAlert,"Some other problem!"," "," ");
}
} else {
// The Sound Stream Feature Set is present.
FrmCustomAlert(errAlert,"It's here."," "," ");
}
On the simulator, I get 'It's here.'. On the real Tungsten/T, I get "No
Stream Manager" errors.
Anyone else see this behavior? What's the right thing to check
for...OS5?<<
I remember reading some where (I think on the Knowledge Base) that the Tungsten|t does
not register the sound manager properly. You must instead check to see if the device
is a T|t. I can't remember the code off the top of my head, but I hope this helps.
__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now!
http://channels.netscape.com/ns/browsers/download.jsp
Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/