[Portaudio] Latest CoreAudio Blocking interface errors

Ross Bencina rossb-lists at audiomulch.com
Fri Mar 4 19:07:14 EST 2011

Hi Tim

Can you please confirm which version was working for you?



----- Original Message ----- 
From: "Tim Bunnell" <bunnell at asel.udel.edu>
To: "portaudio List" <portaudio at music.columbia.edu>
Sent: Saturday, March 05, 2011 5:49 AM
Subject: [Portaudio] Latest CoreAudio Blocking interface errors

Trying the snapshot from 3/3 under OS X 10.6.6, code that previously worked 
fine now seems always to return an input overflow error from the blocking 
I/O although a nearly identical implementation using nonblocking I/O runs 
fine. Attached is a trivial example that generates the error on my system.

As background, we are looking into using portmixer as well, so this is a 
stripped down version of code that was originally designed to adjust the 
volume every 100 msec with calls to portmixer. This was working well with a 
previous patched version of portaudio. After patching the latest portaudio 
for portmixer we got the blocking I/O errors so I removed all the portmixer 
calls, compiled a clean version of portaudio and the blocking I/O errors 

After spending some time looking, I cannot figure out where/why the overflow 
status flag is getting set and I'm not sure the return status (-9981) is 
really what was intended for Pa_ReadStream.

Director, Center for Pediatric Auditory and Speech Sciences (CPASS)
Head, Speech Research Lab    | Adjunct Associate Professor
duPont Hospital for Children | Comp. and Info. Sciences / Linguistics
Voice: 1+302+651-6835        | University of Delaware
Fax:   1+302+651-6895        | URL: www.asel.udel.edu/speech/


> _______________________________________________
> Portaudio mailing list
> Portaudio at music.columbia.edu
> http://music.columbia.edu/mailman/listinfo/portaudio 

More information about the Portaudio mailing list