Patches item #3089763, was opened at 2010-10-18 13:12 Message generated for change (Comment added) made by sf-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3089763...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: puredata Group: bugfix
Status: Closed
Resolution: Accepted Priority: 8 Private: No Submitted By: IOhannes m zmlnig (zmoelnig) Assigned to: Miller Puckette (millerpuckette) Summary: portaudio fixes for channelnum and samplerate
Initial Comment: the current portaudio implementation has an issue with the channel selection: if the user requests more channels than are available for the device, the device will fail to open.
the attached patch, will clamp the requested channels to the number of available channels.
----------------------------------------------------------------------
Comment By: SourceForge Robot (sf-robot)
Date: 2011-01-23 05:20
Message: This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
----------------------------------------------------------------------
Comment By: Miller Puckette (millerpuckette) Date: 2011-01-09 04:55
Message: applied to 0.43
----------------------------------------------------------------------
Comment By: IOhannes m zmlnig (zmoelnig) Date: 2010-10-18 13:22
Message: i forgot to mention: the patches also fix the problem if the user requests an illegal samplerate. rather than failing to open the device, Pd will now ask portaudio for the device's default samplerate and use that one.
----------------------------------------------------------------------
Comment By: IOhannes m zmlnig (zmoelnig) Date: 2010-10-18 13:13
Message: there are 2 patches: one for the normal PortAudio code, and one for the PortAudio-with-callbacks code
both should be applied
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3089763...