Hello,
in the process of implementing volume control for the Treo 680 background
sound stream, I have encountered the following problem:
Right after creating the sound stream and starting it the first time,
changing the volume works. After that, in a different form(the stream
reference is the same), the following code just clickers(turns on and off
the stream) while the slider is being dragged...but doesn't do anything in
terms of volume:
case ctlRepeatEvent:
//Update music volume according to slider current value
{
Int32 i=pEvent->data.ctlRepeat.value;
SndStreamStop(stream);
SndStreamSetVolume(stream,i);
SndStreamStart(stream);
}
break;
On all other machines(Treo 650, TE2), the code works fine.
Anyone has any ideas what's borked here?
Best regards
Tam Hanna
http://tamspalm.tamoggemon.com
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/