Re: Portaudio problem on Linux / PowerPC

Matthias Brennwald matthias at brennwald.org
Sun Dec 16 10:51:26 CST 2007


On 16.12.2007, at 16:21, Arve Knudsen wrote:

> Hi Matthias
>
> On Sat, 15 Dec 2007 12:21:59 +0100, Matthias Brennwald  
> <matthias at brennwald.org> wrote:
>
>> Dear all
>>
>> I compiled portaudio v19 on an Apple G4 PowerBook running Ubuntu  
>> 7.10 as
>> follows:
>>
>> ./configure
>> make
>>
>> This did not produce any errors. Most tests work as expected, but
>> pa_fuzz crashes:
>>
>> ./pa_fuzz
>> Expression 'ioctl( stream->capture->fd, SNDCTL_DSP_SETTRIGGER,
>> &enableBits )' failed in 'src/hostapi/oss/pa_unix_oss.c', line: 1459
>> Expression 'PaOssStream_Prepare( stream )' failed in
>> 'src/hostapi/oss/pa_unix_oss.c', line: 1579
>> Expression 'ioctl( stream->capture->fd, SNDCTL_DSP_POST, 0 )'  
>> failed in
>> 'src/hostapi/oss/pa_unix_oss.c', line: 1493
>>
>> Any thoughts?
>
> It looks like your device doesn't support duplex operation. The  
> test opens the same device for both capture and playback (the same  
> device being both default input and output), and OSS won't have it  
> (hence the error on line 1459).
>
> Arve


1. The device DOES support full duplex.
2. Even if it wouldn't, crashing like this is not very nice. :-)

Matthias



-------
Matthias Brennwald
Lägernstrasse 6
CH 8037 Zürich
+41 (0)44 364 17 03
matthias at brennwald.org





More information about the Help-octave mailing list