[Portaudio] [PATCH] update asihpi hostapi

Eliot Blennerhassett linux at audioscience.com
Mon Mar 14 16:21:45 EDT 2011

Hello Phil,

On -9/01/37 07:59, Phil Burk wrote:
> Hello Eliot,
> Thanks so much for the patch. It is nice to have support from a HW
> vendor. (Eliot works for AudioScience Inc.)
>> I have updated pa_linux_asihpi.c to be compatible with
>> current released AudioScience HPI driver.
> Are the changes still compatible with the older drivers?

They won't build with older driver source because some datatype names
have changed.  I can work with anyone who is affected by this to create
some backward compatibility definitions, but would rather not spend the
effort unless there is a real need.

However, once built they should work with drivers back to about 3.04.03,
release at end 2006.

With newest HPI drivers, old portaudio won't build or run because some
deprecated apis have been removed.

> We are getting ready to make a stable snapshot. Do you think these
> changes should go in as a last minute change? Anything risky in there?

I wouldn't object if it does not go in the stable snapshot.  But would
be good to have in your SVN so anyone who *is* using it can test.

As far as I know, no distro builds with HPI enabled, so it is for the
benefit of those who build from source.

> Any objections from the PortAudio community to my applying this patch? I
> won't be able to test it.

We are not actively using portaudio right now, so I don't do more than a
cursory compile and device enumeration test.

BTW do any of the patest_ apps allow the input/output device to be
specified? (rather than just using the default one, which is typically
ALSA on my system)


Eliot Blennerhassett
AudioScience Inc.

Eliot Blennerhassett
AudioScience Inc.

More information about the Portaudio mailing list