Greetings from Spain!!!
Im trying to do the next thing. I want to start a sample but when another one finish playing. After I was looking for a Callback function to support an hipotetic EndSampleCallback, I decided to try it through a Stream Callback (with a stream of course 8) ). This wasn’t a good idea when I set the endcallback function ‘cos the lag between the EOF detection and the execution of the callback function was almost of 50 msec. After a couple of hours of investigation I arrived to truth, we are not alone, errrrr, the time wasted between the end of the stream is provoqued by a closing and opening of the file in the hard disk, it isn´t? (please tell me Yes :'( )
This is acceptable for a MusicJukeBox but not to link samples one by one. I think that Samples owned a callback function but not.
Is any other technique to do this? Will I to wait until the release of Tsunami? Any suggestion?
Thank you very much!!!
- pacomix asked 14 years ago
- You must login to post comments