[Portaudio] Missing port audio callbacks

Phil Burk philburk at mobileer.com
Thu Aug 17 11:06:07 EDT 2017


Hello Matti,

Make sure yo check out our RPi page:
    https://app.assembla.com/wiki/show/portaudio/Platforms_RaspberryPi

What does pa_devs show? It lists devices?

> no recording callbacks

As a test, can you record without callbacks?  using Pa_ReadStream()
    http://portaudio.com/docs/v19-doxydocs/portaudio_8h.html#a0b62d4b74b5d3d88368e9e4c0b8b2dc7

Phil Burk



On Wed, Aug 16, 2017 at 8:42 AM, Matti Sillanpää
<maash.1.bridge at gmail.com> wrote:
> Hi.
>
>
> Sorry this is wrong forum, however I didn’t want to make an error right away, as I suspect that the problem is my configuration.
>
> Environment is rPI 3 and Jessie. I’m using I2S microphone that outputs 16 bit 16khz mono. I can record from default device like (arecord -d 10 -f S16_LE -r 16000 test.wav). No problems there. Also rec test.wav works fine.
>
> I got the latest port audio sources from the website and compiled the successfully. The playback works fine, however the recording doesn’t work. I don’t get any errors, but no recording callbacks arrive. This is problem both with my own code and the paex_record.c (both stock and one modified to 16bit&16khz mono).
>
> Is this clear configuration issue or bug?
>
> -Matti
> _______________________________________________
> Portaudio mailing list
> Portaudio at lists.columbia.edu
> https://lists.columbia.edu/mailman/listinfo/portaudio


More information about the Portaudio mailing list