[PD-dev] [ pure-data-Patches-3089763 ] portaudio fixes for channelnum and samplerate

SourceForge.net noreply at sourceforge.net
Mon Oct 18 15:22:02 CEST 2010


Patches item #3089763, was opened at 2010-10-18 15:12
Message generated for change (Comment added) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3089763&group_id=55736

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: Open
Resolution: None
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: IOhannes m zmlnig (zmoelnig)
Date: 2010-10-18 15: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 15: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&group_id=55736



More information about the Pd-dev mailing list