Csound Csound-dev Csound-tekno Search About

[Cs-dev] portaudio full duplex buffers

Date2010-05-19 14:53
FromOeyvind Brandtsegg
Subject[Cs-dev] portaudio full duplex buffers
I compiled portaudio with msvc, and did a csound build with mingw today.
Everything compiled without error, and csound is working well, except
for full duplex realtime audio.

When using both -odac and -iadc I get

 *** PortAudio: error: Inconsistent full-duplex buffer sizes
Failed to initialise real time audio output

I've tried with numerous different settings for -b and -B, and I know
about the usual guidelines for kr/-b/-B settings.
But I can't seem to find a buffer size that allows full duplex operation.
Previous binary releases of Csound (Windows) use portaudio in such a
manner that full duplex operation works,
so I guess there must be some modifications I did not do (?)
I used this version of portaudio
pa_stable_v19_20071207.tar.gz is current V19 posted December 7, 2007

any help greatly appreciated
best
Oeyvind

------------------------------------------------------------------------------

_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-05-19 17:36
FromVictor Lazzarini
SubjectRe: [Cs-dev] portaudio full duplex buffers
I think this is very old: try the latest tarball. I am sure it'll work  
better.

Victor
On 19 May 2010, at 14:53, Oeyvind Brandtsegg wrote:

> I compiled portaudio with msvc, and did a csound build with mingw  
> today.
> Everything compiled without error, and csound is working well, except
> for full duplex realtime audio.
>
> When using both -odac and -iadc I get
>
> *** PortAudio: error: Inconsistent full-duplex buffer sizes
> Failed to initialise real time audio output
>
> I've tried with numerous different settings for -b and -B, and I know
> about the usual guidelines for kr/-b/-B settings.
> But I can't seem to find a buffer size that allows full duplex  
> operation.
> Previous binary releases of Csound (Windows) use portaudio in such a
> manner that full duplex operation works,
> so I guess there must be some modifications I did not do (?)
> I used this version of portaudio
> pa_stable_v19_20071207.tar.gz is current V19 posted December 7, 2007
>
> any help greatly appreciated
> best
> Oeyvind
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------

_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-05-20 08:44
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] portaudio full duplex buffers
Indeed it's old, but "recommend for most users" on portaudio.com.
The latest snapshot gives some errors when building,
1>c:\msys\1.0\source\portaudio\src\hostapi\dsound\pa_win_ds.c(762) :
error C2065: 'DSSPEAKER_7POINT1_SURROUND' : undeclared identifier
1>c:\msys\1.0\source\portaudio\src\hostapi\dsound\pa_win_ds.c(762) :
error C2051: case expression not constant
Maybe I could  disable building for directX, as I would not need that.

Oeyvind

2010/5/19 Victor Lazzarini :
> I think this is very old: try the latest tarball. I am sure it'll work
> better.
>
> Victor
> On 19 May 2010, at 14:53, Oeyvind Brandtsegg wrote:
>
>> I compiled portaudio with msvc, and did a csound build with mingw
>> today.
>> Everything compiled without error, and csound is working well, except
>> for full duplex realtime audio.
>>
>> When using both -odac and -iadc I get
>>
>> *** PortAudio: error: Inconsistent full-duplex buffer sizes
>> Failed to initialise real time audio output
>>
>> I've tried with numerous different settings for -b and -B, and I know
>> about the usual guidelines for kr/-b/-B settings.
>> But I can't seem to find a buffer size that allows full duplex
>> operation.
>> Previous binary releases of Csound (Windows) use portaudio in such a
>> manner that full duplex operation works,
>> so I guess there must be some modifications I did not do (?)
>> I used this version of portaudio
>> pa_stable_v19_20071207.tar.gz is current V19 posted December 7, 2007
>>
>> any help greatly appreciated
>> best
>> Oeyvind
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------

_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-05-20 08:50
FromVictor Lazzarini
SubjectRe: [Cs-dev] portaudio full duplex buffers
On the portaudio list, Ross and the developers seem to recommend  
snapshots. I'll ask about your build error.

Victor
On 20 May 2010, at 08:44, Oeyvind Brandtsegg wrote:

> Indeed it's old, but "recommend for most users" on portaudio.com.
> The latest snapshot gives some errors when building,
> 1>c:\msys\1.0\source\portaudio\src\hostapi\dsound\pa_win_ds.c(762) :
> error C2065: 'DSSPEAKER_7POINT1_SURROUND' : undeclared identifier
> 1>c:\msys\1.0\source\portaudio\src\hostapi\dsound\pa_win_ds.c(762) :
> error C2051: case expression not constant
> Maybe I could  disable building for directX, as I would not need that.
>
> Oeyvind
>
> 2010/5/19 Victor Lazzarini :
>> I think this is very old: try the latest tarball. I am sure it'll  
>> work
>> better.
>>
>> Victor
>> On 19 May 2010, at 14:53, Oeyvind Brandtsegg wrote:
>>
>>> I compiled portaudio with msvc, and did a csound build with mingw
>>> today.
>>> Everything compiled without error, and csound is working well,  
>>> except
>>> for full duplex realtime audio.
>>>
>>> When using both -odac and -iadc I get
>>>
>>> *** PortAudio: error: Inconsistent full-duplex buffer sizes
>>> Failed to initialise real time audio output
>>>
>>> I've tried with numerous different settings for -b and -B, and I  
>>> know
>>> about the usual guidelines for kr/-b/-B settings.
>>> But I can't seem to find a buffer size that allows full duplex
>>> operation.
>>> Previous binary releases of Csound (Windows) use portaudio in such a
>>> manner that full duplex operation works,
>>> so I guess there must be some modifications I did not do (?)
>>> I used this version of portaudio
>>> pa_stable_v19_20071207.tar.gz is current V19 posted December 7, 2007
>>>
>>> any help greatly appreciated
>>> best
>>> Oeyvind
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------

_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net