Victor Lazzarini | 1 Oct 2010 17:24
Picon
Favicon

[ANN] Linux Audio Conference 2011

Dear Linux Audio developer, user, composer, musician, philosopher
and anyone else interested, you are invited to the...

Linux Audio Conference 2011
The Open Source Music and Audio Software Conference

May 6-8 2011
Music Department, National University of Ireland, Maynooth
Maynooth, Co.Kildare, Ireland
http://music.nuim.ie

As in previous years, we will have a full programme of talks,  
workshops and music.
Two calls will be issued, a Call for Papers (see below) and Call for  
Music (soon to be announced).

Further information will be found in the LAC2011 website (under   
construction).

================ CALL FOR PAPERS =================

Papers on the following categories (but not limited to them) are now
invited for submission:

* Ambisonics
* Education
* Live performance
* Audio Hardware Support
* Signal Processing
* Music Composition
(Continue reading)

Victor Lazzarini | 1 Oct 2010 17:50
Picon
Favicon

[ANN] Linux Audio Conference 2011

A small correction with regards to the year (2010->2011)...
===
Dear Linux Audio developer, user, composer, musician, philosopher
and anyone else interested, you are invited to the...

Linux Audio Conference 2011
The Open Source Music and Audio Software Conference

May 6-8 2011
Music Department, National University of Ireland, Maynooth
Maynooth, Co.Kildare, Ireland
http://music.nuim.ie

As in previous years, we will have a full programme of talks,  
workshops and music.
Two calls will be issued, a Call for Papers (see below) and Call for  
Music (soon to be announced).

Further information will be found in the LAC2011 website (under   
construction).

================ CALL FOR PAPERS =================

Papers on the following categories (but not limited to them) are now
invited for submission:

* Ambisonics
* Education
* Live performance
* Audio Hardware Support
(Continue reading)

Alexander Carôt | 9 Oct 2010 12:29
Picon

WASAPI build question

Hi all,

I just tried to compile portaudio for WASAPI under Win7 with MSVC, which I have not been using at all before.
The obvious error is that it tries to compile for DSound. So, the question is: How can I *explicitly* build
for WASAPI ? Also it would be great to have the WIKI updated. Is anyone in charge of that ? If not I would be
interested to work on that.

Best and thanks in advance

-- A l e x
--

-- 
http://www.carot.de
http://www.triologue.de
Email : Alexander <at> Carot.de
Tel.: +49 (0)177 5719797

Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
Rob Watson | 9 Oct 2010 12:42
Picon
Gravatar

ASIO: CoInitialize fails mysteriously

Hello list


I'm working with PortAudio for the first time, and have run into a problem trying to load ASIO drivers. 

Specifically, when loading an ASIO device, the code reaches line 1006 of pa_asio.cpp (in LoadAsioDriver( ), current SVN repo), where there is a line:

CoInitialize( 0 );

I have set a break point here: the call to CoInitialize( ) fails in gdb with a code of -2147417833 (meaning: call context cannot be accessed after call completed). Anyway, the control flow then returns to the previous method, instead of trying to call asioHostApi->asioDrivers->loadDriver(). So it looks like CoInitialize is failing catastrophically somehow.

I am guessing that this might have something to do with iasiothiscallresolver.cpp (which I am including in my build). 

(I'm building a QT application in mingw, and linking PortAudio statically, but I've tried building PortAudio as a .lib and .dll in VS++ 8 too, same result). 

I know CoInitialize is an old PortAudio problem, but any help you can give me on this would be really appreciated. 

Rob
_______________________________________________
Portaudio mailing list
Portaudio <at> music.columbia.edu
http://music.columbia.edu/mailman/listinfo/portaudio
Alexander Carôt | 9 Oct 2010 13:42
Picon

WASAPI build question

>I just tried to compile portaudio for WASAPI under Win7 with MSVC, which I >have not been using at all
before. The obvious error is that it tries to >compile for DSound. So, the question is: How can I
*explicitly* build for >WASAPI ? Also it would be great to have the WIKI updated. Is anyone in >charge of
that ? If not I would be interested to work on that.

... I forgot to mention that I'd also like to compile it with Eclipse using MinGW. In that context I do not have
the possibility to run the configure-script. How shall I approach this ?

Thanks 

-- A l e x
--

-- 
http://www.carot.de
http://www.triologue.de
Email : Alexander <at> Carot.de
Tel.: +49 (0)177 5719797

GMX DSL Doppel-Flat ab 19,99 &euro;/mtl.! Jetzt auch mit 
gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
Dmitry Kostjuchenko | 9 Oct 2010 18:18
Favicon

Re: WASAPI build question

Hi Alexander,

I ran MSVC from the path \build\msvc\portaudio.sln. In the source tree I can 
see pa_win_wasapi.c file included and when I am building PA I am getting 
pa_win_wasapi.c file compiled as well. DirectSound is being compiled as 
well, as well as WMME, ASIO. If you wish to compile only WASAPI then you 
need to tweak project settings as following:

1) add such defines in project settings:
PA_NO_WMME
PA_NO_DS
PA_NO_ASIO

2) disable compilation of WMME, DS, ASIO implementation files by deleting 
them from project tree or disabling it (MSVC allows to disable compilation 
on source code file basis)

As to Wiki I can't help much, probably Phil Burk or Ross Bencina could 
provide info on that.

Best regards,
Dmitry.

----- Original Message ----- 
From: ""Alexander Carôt"" <alexander_carot <at> gmx.net>
To: "Portaudio Mailing List" <portaudio <at> music.columbia.edu>
Sent: Saturday, October 09, 2010 1:29 PM
Subject: [Portaudio] WASAPI build question

> Hi all,
>
> I just tried to compile portaudio for WASAPI under Win7 with MSVC, which I 
> have not been using at all before. The obvious error is that it tries to 
> compile for DSound. So, the question is: How can I *explicitly* build for 
> WASAPI ? Also it would be great to have the WIKI updated. Is anyone in 
> charge of that ? If not I would be interested to work on that.
>
> Best and thanks in advance
>
> -- A l e x
> -- 
> http://www.carot.de
> http://www.triologue.de
> Email : Alexander <at> Carot.de
> Tel.: +49 (0)177 5719797
>
>
>
> Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
> Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
> _______________________________________________
> Portaudio mailing list
> Portaudio <at> music.columbia.edu
> http://music.columbia.edu/mailman/listinfo/portaudio
> 
Dmitry Kostjuchenko | 9 Oct 2010 18:23
Favicon

Re: WASAPI build question

For the case of Eclipse you shall include needed files manually, e.g. create 
your own Eclipse project with similar settings (defines, includes) similar 
to project for MSVC for example. I do not remember whether Eclipse supports 
project import from Makefile which you can fine tune then.

Dmitry.

----- Original Message ----- 
From: ""Alexander Carôt"" <alexander_carot <at> gmx.net>
To: "Portaudio Mailing List" <portaudio <at> music.columbia.edu>
Sent: Saturday, October 09, 2010 2:42 PM
Subject: [Portaudio] WASAPI build question

> >I just tried to compile portaudio for WASAPI under Win7 with MSVC, which 
> >I >have not been using at all before. The obvious error is that it tries 
> >to >compile for DSound. So, the question is: How can I *explicitly* build 
> >for >WASAPI ? Also it would be great to have the WIKI updated. Is anyone 
> >in >charge of that ? If not I would be interested to work on that.
>
> ... I forgot to mention that I'd also like to compile it with Eclipse 
> using MinGW. In that context I do not have the possibility to run the 
> configure-script. How shall I approach this ?
>
> Thanks
>
> -- A l e x
> -- 
> http://www.carot.de
> http://www.triologue.de
> Email : Alexander <at> Carot.de
> Tel.: +49 (0)177 5719797
>
>
>
> GMX DSL Doppel-Flat ab 19,99 &euro;/mtl.! Jetzt auch mit
> gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
> _______________________________________________
> Portaudio mailing list
> Portaudio <at> music.columbia.edu
> http://music.columbia.edu/mailman/listinfo/portaudio
> 
Dmitry Kostjuchenko | 9 Oct 2010 18:27
Favicon

Re: ASIO: CoInitialize fails mysteriously

Hi Rob,
 
What about DirectSound or WASAPI APIs, they also utilize call to CoInitialize. Do they operate ok for you? Is it only ASIO failing with exception? For me ASIO works ok, but if you are using MinGW then you are obliged to include into compilation this file - 'iasiothiscallresolver.cpp' which resolves difficulties with correct calling convention, although for MSVC it is not required.
 
Best regards,
Dmitry.
----- Original Message -----
From: Rob Watson
Sent: Saturday, October 09, 2010 1:42 PM
Subject: [Portaudio] ASIO: CoInitialize fails mysteriously

Hello list

I'm working with PortAudio for the first time, and have run into a problem trying to load ASIO drivers. 

Specifically, when loading an ASIO device, the code reaches line 1006 of pa_asio.cpp (in LoadAsioDriver( ), current SVN repo), where there is a line:

CoInitialize( 0 );

I have set a break point here: the call to CoInitialize( ) fails in gdb with a code of -2147417833 (meaning: call context cannot be accessed after call completed). Anyway, the control flow then returns to the previous method, instead of trying to call asioHostApi->asioDrivers->loadDriver(). So it looks like CoInitialize is failing catastrophically somehow.

I am guessing that this might have something to do with iasiothiscallresolver.cpp (which I am including in my build). 

(I'm building a QT application in mingw, and linking PortAudio statically, but I've tried building PortAudio as a .lib and .dll in VS++ 8 too, same result). 

I know CoInitialize is an old PortAudio problem, but any help you can give me on this would be really appreciated. 

Rob

_______________________________________________
Portaudio mailing list
Portaudio <at> music.columbia.edu
http://music.columbia.edu/mailman/listinfo/portaudio
_______________________________________________
Portaudio mailing list
Portaudio <at> music.columbia.edu
http://music.columbia.edu/mailman/listinfo/portaudio
Alexander Carôt | 10 Oct 2010 12:32
Picon

Re: WASAPI build question

> For the case of Eclipse you shall include needed files manually, e.g. create your own Eclipse project with
similar settings (defines, includes) similar to project for MSVC for example. I do not remember whether
Eclipse supports project import from Makefile which you can fine tune then.

Thanks Dmitry ! Actually, I am preparing portaudio to be installed on a number of Win7-machines in a
university pool and it appears that the problems I mentioned might be related to administrative
restrictions. The fact that I am not that familiar with the Windows-world does not improve the situation
... I need to work on this.

I will possibly get back on this topic later -
Best regards

-- A l e x 

> 
> Dmitry.
> 
> ----- Original Message ----- From: ""Alexander Carôt"" <alexander_carot <at> gmx.net>
> To: "Portaudio Mailing List" <portaudio <at> music.columbia.edu>
> Sent: Saturday, October 09, 2010 2:42 PM
> Subject: [Portaudio] WASAPI build question
> 
> 
>> >I just tried to compile portaudio for WASAPI under Win7 with MSVC, which >I >have not been using at all
before. The obvious error is that it tries >to >compile for DSound. So, the question is: How can I
*explicitly* build >for >WASAPI ? Also it would be great to have the WIKI updated. Is anyone >in >charge of
that ? If not I would be interested to work on that.
>> 
>> ... I forgot to mention that I'd also like to compile it with Eclipse using MinGW. In that context I do not
have the possibility to run the configure-script. How shall I approach this ?
>> 
>> Thanks
>> 
>> -- A l e x
>> -- 
>> http://www.carot.de
>> http://www.triologue.de
>> Email : Alexander <at> Carot.de
>> Tel.: +49 (0)177 5719797
>> 
>> 
>> 
>> GMX DSL Doppel-Flat ab 19,99 &euro;/mtl.! Jetzt auch mit
>> gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
>> _______________________________________________
>> Portaudio mailing list
>> Portaudio <at> music.columbia.edu
>> http://music.columbia.edu/mailman/listinfo/portaudio
> 
> _______________________________________________
> Portaudio mailing list
> Portaudio <at> music.columbia.edu
> http://music.columbia.edu/mailman/listinfo/portaudio

Dr.-Ing. Alexander Carôt 
Email : Alexander <at> Carot.de 
Tel.: +49 (0)177 5719797 
Rob Watson | 10 Oct 2010 12:55
Picon
Gravatar

Re: ASIO: CoInitialize fails mysteriously

Hi Dmitry,


Thanks for the reply. Eventually I tried rebooting my machine and it all works fine now. It is a long time since I've developed on a Windows box, one forgets that this type of thing is necessary.

I would still like to know why the call to CoInitialize( ) was making the method return early, but perhaps this is a mystery destined never to be solved.

best
Rob



On 9 October 2010 17:27, Dmitry Kostjuchenko <dmitrykos <at> iauxsoft.com> wrote:
Hi Rob,
 
What about DirectSound or WASAPI APIs, they also utilize call to CoInitialize. Do they operate ok for you? Is it only ASIO failing with exception? For me ASIO works ok, but if you are using MinGW then you are obliged to include into compilation this file - 'iasiothiscallresolver.cpp' which resolves difficulties with correct calling convention, although for MSVC it is not required.
 
Best regards,
Dmitry.
----- Original Message -----
From: Rob Watson
Sent: Saturday, October 09, 2010 1:42 PM
Subject: [Portaudio] ASIO: CoInitialize fails mysteriously

Hello list

I'm working with PortAudio for the first time, and have run into a problem trying to load ASIO drivers. 

Specifically, when loading an ASIO device, the code reaches line 1006 of pa_asio.cpp (in LoadAsioDriver( ), current SVN repo), where there is a line:

CoInitialize( 0 );

I have set a break point here: the call to CoInitialize( ) fails in gdb with a code of -2147417833 (meaning: call context cannot be accessed after call completed). Anyway, the control flow then returns to the previous method, instead of trying to call asioHostApi->asioDrivers->loadDriver(). So it looks like CoInitialize is failing catastrophically somehow.

I am guessing that this might have something to do with iasiothiscallresolver.cpp (which I am including in my build). 

(I'm building a QT application in mingw, and linking PortAudio statically, but I've tried building PortAudio as a .lib and .dll in VS++ 8 too, same result). 

I know CoInitialize is an old PortAudio problem, but any help you can give me on this would be really appreciated. 

Rob

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


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

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

Gmane