On Wed, Apr 21, 2010 at 04:32:17PM +0200, Eric Faurot wrote:
> +int32
> +ad_read(ad_rec_t *r, int16 *buf, int32 max)
> +{
> + size_t n;
> + struct sio_hdl *hdl = (struct sio_hdl*)r;
> +
> + n = sio_read(hdl, buf, max * BPS);
> + return (n / 2);
> +}ooops, I mean "return (n / BPS);"
