Hi All,

I've got my code successfully compiling against OS5, and when it's run
checking for the existence of the Sound Stream Feature Set, and then
playing a sampled sound during gameplay in the simulator.  This works
like a peach.

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?

Anyone know?

-Ken


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

Reply via email to