bastibe / PySoundCard

PySoundCard is an audio library based on PortAudio, CFFI and NumPy
BSD 3-Clause "New" or "Revised" License
87 stars 9 forks source link

Support paNonInterleaved #20

Open mgeier opened 10 years ago

mgeier commented 10 years ago

This is somehow present in the code (as interleaved_data flag), but it doesn't really work.

The input and output pointers point to an array of channel pointers. This could be transferred to NumPy as a list of one-dimensional np.ndarrays.

bastibe commented 10 years ago

True. The flag doesn't make sense in PySoundCard as numpy takes care of our data layout.