This must be answered somewhere in the documentation (or the source), but I've not found the answer yet and perhaps the list can be faster than my reading…
I'm getting wrapping noise. I hadn't been expecting my app to be generating out-of-range samples, but obviously I am and obviously they're not being clipped. Is there a setting to get PA to clip rather than wrap, or do I have to write code in my callback to handle out-of-range samples? I'm using the pa_win_wmme host API. My app is doing all its calculations with 32-bit floats. My callback is mixing audio from several independent sources, each with independent gain, so I can only check for out-of-range floats by adding an additional check loop at the end of my callback. There seems to be optimized assembler code in pa_x86_plain_converters or pa_win_wmmme that would clip as needed while copying out to the converters, which ought to be more efficient, if I can just get PortAudio to use it. Thanks for any pointers. Cheers -- Peter --------------------------------------------------------------------- Peter Castine [EMAIL PROTECTED] Next Concert http://www.castine.de/ Sat 16 Nov - 7:00 pm http://www.bek.no/~pcastine/ Centre Bagatelle, Berlin-Frohnau Five Seasons for Wind Quintet (Première) _______________________________________________ media_api mailing list media_api@create.ucsb.edu http://lists.create.ucsb.edu/mailman/listinfo/media_api