We had some discussion about abort recently. Apparently, abort is rarely 
used and minimally tested, but also, abort behavior may depend upon the 
underlying OS and drivers. Also, note that the specs say after abort you 
must close the stream, although this may not really be necessary -- 
again, this calls for some code inspection and testing. Sorry I can't 
give a more definitive answer yet. What OS are you using?

Finally, be aware that it will not be possible to determine exactly what 
gets aborted, so the state of the synthesizer (e.g. what notes are 
playing) may be unknown after an abort.

Justin Francos wrote:
> Hi,
>
> Let's say I've written some writeshorts such that I hear a short chord 
> progression (which itself works fine), but I want to be able to 
> arbitrarily discontinue the playing of said writeshorts during its 
> playback.  How can I do that?  I tried using 'abort', but that doesn't 
> seem to have any effect.  Is 'abort' in fact what is appropriate and 
> it's just not working?  Or is there some other solution?
>
> Best,
> Justin

_______________________________________________
media_api mailing list
[email protected]
http://lists.create.ucsb.edu/mailman/listinfo/media_api

Reply via email to