Re-hello Martin. If I may....
Doing this in procedure tmainfo.onsetev() line 243: channels:= 2; // force 2 channels. (with channels as global variable) // if ch1on.value and ch2on.value then begin // channels:= 2; // end; And this for procedure tmainfo.waveexe() line 127: // twochannel:= ch1on.value and ch2on.value; twochannel:= true; // force 2 channels. channels:= 2; // force 2 channels. -----> Sound intermited (like with my code). But adding this in tmainfo.waveexe() line 168: i1:= audio_object_write(faudioobj,p1,bytelen div channels); ----> Sound perfect. ;-) About the crash, ok, I will investigate. (But my nose say it is not a pcaudiolib problem) ... Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk