Discussion:
nightly snapshot fixed
(too old to reply)
Phil Burk
2012-02-14 18:59:22 UTC
Permalink
I just noticed that the nightly snapshot has not been generated since we
moved to the new web server. I made a snapshot and also scheduled a
nightly cron job.

The latest snapshot, with Robert's WaveRT merge, is here:

http://www.portaudio.com/download.html

Phil Burk
Stefan Fendt
2012-02-14 20:46:42 UTC
Permalink
Am 14.02.2012 19:59, schrieb Phil Burk:
> I just noticed that the nightly snapshot has not been generated since
> we moved to the new web server. I made a snapshot and also scheduled a
> nightly cron job.

Is the WaveRT-branch supposed to be in the snapshot from today or will
it show up in the "tomorow"-snapshot?

I've had (by accident ;-)) some time to play with the snapshot from
today... So, the positive things first ;-): I used CMake to generate the
Solution for VC++ 2010... and it compiles flawlessly ... but now, there
do not show up any WDM/KS-Devices, no matter if I use '#include
"portaudio.h"' or '#include "pa_win_wdmks.h"'... Am I supposed to do
something different for making WaveRT work instead of just asking
portaudio about the available devices and looking for some reporting a
host-API of 'paWDMKS'?

best,
Stefan
Phil Burk
2012-02-14 21:00:39 UTC
Permalink
Hello,

> Is the WaveRT-branch supposed to be in the snapshot from today or will
> it show up in the "tomorow"-snapshot?

The snapshot was taken just before my email, well after the WaveRT
merge. So the new code should be in there.

Here is a page for that revision if you want to check the source:

http://www.assembla.com/code/portaudio/subversion/changesets/1812

Phil

On 2/14/12 12:46 PM, Stefan Fendt wrote:
> Am 14.02.2012 19:59, schrieb Phil Burk:
>> I just noticed that the nightly snapshot has not been generated since
>> we moved to the new web server. I made a snapshot and also scheduled a
>> nightly cron job.
>
> Is the WaveRT-branch supposed to be in the snapshot from today or will
> it show up in the "tomorow"-snapshot?
>
> I've had (by accident ;-)) some time to play with the snapshot from
> today... So, the positive things first ;-): I used CMake to generate the
> Solution for VC++ 2010... and it compiles flawlessly ... but now, there
> do not show up any WDM/KS-Devices, no matter if I use '#include
> "portaudio.h"' or '#include "pa_win_wdmks.h"'... Am I supposed to do
> something different for making WaveRT work instead of just asking
> portaudio about the available devices and looking for some reporting a
> host-API of 'paWDMKS'?
>
> best,
> Stefan
> _______________________________________________
> Portaudio mailing list
> Portaudio at music.columbia.edu
> http://music.columbia.edu/mailman/listinfo/portaudio
Chris
2012-02-14 21:05:24 UTC
Permalink
In VC++ you may need to add PA_USE_WDMKS=1 to your preprocessor
definitions.


-----Original Message-----
From: Stefan Fendt <stefan at sfendt.de>
To: portaudio <portaudio at music.columbia.edu>
Sent: Tue, Feb 14, 2012 12:46 pm
Subject: Re: [Portaudio] nightly snapshot fixed


Am 14.02.2012 19:59, schrieb Phil Burk:
> I just noticed that the nightly snapshot has not been generated since
> we moved to the new web server. I made a snapshot and also scheduled a
> nightly cron job.

Is the WaveRT-branch supposed to be in the snapshot from today or will
it show up in the "tomorow"-snapshot?

I've had (by accident ;-)) some time to play with the snapshot from
today... So, the positive things first ;-): I used CMake to generate the
Solution for VC++ 2010... and it compiles flawlessly ... but now, there
do not show up any WDM/KS-Devices, no matter if I use '#include
"portaudio.h"' or '#include "pa_win_wdmks.h"'... Am I supposed to do
something different for making WaveRT work instead of just asking
portaudio about the available devices and looking for some reporting a
host-API of 'paWDMKS'?

best,
Stefan
Stefan Fendt
2012-02-14 21:46:28 UTC
Permalink
Am 14.02.2012 22:05, schrieb Chris:
> In VC++ you may need to add PA_USE_WDMKS=1 to your preprocessor
> definitions.

Double-checked this. It is set via 'options_cmake.h' but still no go...
any ideas of how to track this down?

Here's the options_cmake.h generated on my system during cmake-run
(seems to be perfectly OK for me):

--8<--------------------------------------------------------------------
/* $Id: $

!!! CMake generated file, do NOT edit! Use CMake-GUI to change
configuration instead. !!!

Header file configured by CMake to convert CMake options/vars to
macros. It is done this way because if set via
preprocessor options, MSVC f.i. has no way of knowing when an option
(or var) changes as there is no dependency chain.

The generated "options_cmake.h" should be included like so:

#ifdef PORTAUDIO_CMAKE_GENERATED
#include "options_cmake.h"
#endif

so that non-CMake build environments are left intact.

Source template: cmake_support/options_cmake.h.in
*/

#ifdef _WIN32
#if defined(PA_USE_ASIO) || defined(PA_USE_DS) || defined(PA_USE_WMME)
|| defined(PA_USE_WASAPI) || defined(PA_USE_WDMKS)
#error "This header needs to be included before pa_hostapi.h!!"
#endif

#define PA_USE_ASIO 0
#define PA_USE_DS 0
#define PA_USE_WMME 1
#define PA_USE_WASAPI 1
#define PA_USE_WDMKS 1
#else
#error "Platform currently not supported by CMake script"
#endif
--8<--------------------------------------------------------------------
Stefan Fendt
2012-02-15 00:56:00 UTC
Permalink
Hi,

this is the complete devices-list I get from the todays
libportaudio-snapshot. It was compiled against DirectX but not against
ASIO. At first it seems that Device-Host-API=0 still is WMME (as the
soundmapper is on that index) and then there are ASIO-devices which
should not be there?! May it be the case that if libportaudio is not
build against all possible APIs, that in this case the Host-API-Index
get's nuts?

cu
Stefan

This was the code to produce the following list:

- - 8< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

int nDevices = Pa_GetDeviceCount();

for( int i=0; i<nDevices; i++ )
{
DeviceInfo = Pa_GetDeviceInfo( i );
wxLogStatus( _("Device-Index: %i"), i );
wxLogStatus( _("Device-Name: %s"),
wxString::From8BitData(DeviceInfo->name) );
wxLogStatus( _("Device-Max-Input-Channels: %i"),
DeviceInfo->maxInputChannels );
wxLogStatus( _("Device-Max-Output-Channels: %i"),
DeviceInfo->maxOutputChannels );
wxLogStatus( _("Device-Host-API: %s"), DeviceInfo->hostApi
== 0? _("0 - Development-API"):
DeviceInfo->hostApi
== 1? _("1 - DirectSound"):
DeviceInfo->hostApi
== 2? _("2 - MME"):
DeviceInfo->hostApi
== 3? _("3 - ASIO"):
DeviceInfo->hostApi
== 4? _("4 - Soundmanager"):
// we're only
interested in these four... all others will be reported:

_("*UNKNOWN*") );

wxLogStatus( _(" ") );
}

- - 8< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

and this is the output of it:

- - 8< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

01:44:29: Device-Index: 0
01:44:29: Device-Name: Microsoft Soundmapper - Input
01:44:29: Device-Max-Input-Channels: 2
01:44:29: Device-Max-Output-Channels: 0
01:44:29: Device-Host-API: 0 - Development-API
01:44:29:
01:44:29: Device-Index: 1
01:44:29: Device-Name: Eingang (ASUS Xonar DX Audio De
01:44:29: Device-Max-Input-Channels: 2
01:44:29: Device-Max-Output-Channels: 0
01:44:29: Device-Host-API: 0 - Development-API
01:44:29:
01:44:29: Device-Index: 2
01:44:29: Device-Name: Wave (ASUS Xonar DX Audio Devic
01:44:29: Device-Max-Input-Channels: 2
01:44:29: Device-Max-Output-Channels: 0
01:44:29: Device-Host-API: 0 - Development-API
01:44:29:
01:44:29: Device-Index: 3
01:44:29: Device-Name: Aux (ASUS Xonar DX Audio Device
01:44:29: Device-Max-Input-Channels: 2
01:44:29: Device-Max-Output-Channels: 0
01:44:29: Device-Host-API: 0 - Development-API
01:44:29:
01:44:29: Device-Index: 4
01:44:29: Device-Name: Stereo Mix (ASUS Xonar DX Audio
01:44:29: Device-Max-Input-Channels: 2
01:44:29: Device-Max-Output-Channels: 0
01:44:29: Device-Host-API: 0 - Development-API
01:44:29:
01:44:29: Device-Index: 5
01:44:29: Device-Name: Mikrofon (ASUS Xonar DX Audio D
01:44:29: Device-Max-Input-Channels: 2
01:44:29: Device-Max-Output-Channels: 0
01:44:29: Device-Host-API: 0 - Development-API
01:44:29:
01:44:29: Device-Index: 6
01:44:29: Device-Name: Microsoft Soundmapper - Output
01:44:29: Device-Max-Input-Channels: 0
01:44:29: Device-Max-Output-Channels: 2
01:44:29: Device-Host-API: 0 - Development-API
01:44:29:
01:44:29: Device-Index: 7
01:44:29: Device-Name: Lautsprecher (ASUS Xonar DX Aud
01:44:29: Device-Max-Input-Channels: 0
01:44:29: Device-Max-Output-Channels: 8
01:44:30: Device-Host-API: 0 - Development-API
01:44:30:
01:44:30: Device-Index: 8
01:44:30: Device-Name: Digitaler Ausgang (ASUS Xonar D
01:44:30: Device-Max-Input-Channels: 0
01:44:30: Device-Max-Output-Channels: 8
01:44:30: Device-Host-API: 0 - Development-API
01:44:30:
01:44:30: Device-Index: 9
01:44:30: Device-Name: Prim?rer Soundaufnahmetreiber
01:44:30: Device-Max-Input-Channels: 2
01:44:30: Device-Max-Output-Channels: 0
01:44:30: Device-Host-API: 1 - DirectSound
01:44:30:
01:44:30: Device-Index: 10
01:44:30: Device-Name: Eingang (ASUS Xonar DX Audio Device)
01:44:30: Device-Max-Input-Channels: 2
01:44:30: Device-Max-Output-Channels: 0
01:44:30: Device-Host-API: 1 - DirectSound
01:44:30:
01:44:30: Device-Index: 11
01:44:30: Device-Name: Wave (ASUS Xonar DX Audio Device)
01:44:30: Device-Max-Input-Channels: 2
01:44:30: Device-Max-Output-Channels: 0
01:44:30: Device-Host-API: 1 - DirectSound
01:44:30:
01:44:30: Device-Index: 12
01:44:30: Device-Name: Aux (ASUS Xonar DX Audio Device)
01:44:30: Device-Max-Input-Channels: 2
01:44:30: Device-Max-Output-Channels: 0
01:44:30: Device-Host-API: 1 - DirectSound
01:44:30:
01:44:30: Device-Index: 13
01:44:30: Device-Name: Stereo Mix (ASUS Xonar DX Audio Device)
01:44:30: Device-Max-Input-Channels: 2
01:44:30: Device-Max-Output-Channels: 0
01:44:30: Device-Host-API: 1 - DirectSound
01:44:30:
01:44:30: Device-Index: 14
01:44:30: Device-Name: Mikrofon (ASUS Xonar DX Audio Device)
01:44:30: Device-Max-Input-Channels: 2
01:44:30: Device-Max-Output-Channels: 0
01:44:30: Device-Host-API: 1 - DirectSound
01:44:30:
01:44:30: Device-Index: 15
01:44:30: Device-Name: Prim?rer Soundtreiber
01:44:30: Device-Max-Input-Channels: 0
01:44:30: Device-Max-Output-Channels: 2
01:44:30: Device-Host-API: 1 - DirectSound
01:44:30:
01:44:30: Device-Index: 16
01:44:30: Device-Name: Lautsprecher (ASUS Xonar DX Audio Device)
01:44:30: Device-Max-Input-Channels: 0
01:44:30: Device-Max-Output-Channels: 8
01:44:30: Device-Host-API: 1 - DirectSound
01:44:30:
01:44:30: Device-Index: 17
01:44:30: Device-Name: Digitaler Ausgang (ASUS Xonar DX Audio Device)
01:44:30: Device-Max-Input-Channels: 0
01:44:30: Device-Max-Output-Channels: 8
01:44:30: Device-Host-API: 1 - DirectSound
01:44:30:
01:44:30: Device-Index: 18
01:44:30: Device-Name: Lautsprecher (ASUS Xonar DX Audio Device)
01:44:30: Device-Max-Input-Channels: 0
01:44:30: Device-Max-Output-Channels: 2
01:44:30: Device-Host-API: 2 - MME
01:44:30:
01:44:30: Device-Index: 19
01:44:30: Device-Name: Digitaler Ausgang (ASUS Xonar DX Audio Device)
01:44:30: Device-Max-Input-Channels: 0
01:44:30: Device-Max-Output-Channels: 2
01:44:30: Device-Host-API: 2 - MME
01:44:30:
01:44:30: Device-Index: 20
01:44:30: Device-Name: Wave (ASUS Xonar DX Audio Device)
01:44:30: Device-Max-Input-Channels: 2
01:44:30: Device-Max-Output-Channels: 0
01:44:30: Device-Host-API: 2 - MME
01:44:30:
01:44:30: Device-Index: 21
01:44:30: Device-Name: Aux (ASUS Xonar DX Audio Device)
01:44:30: Device-Max-Input-Channels: 2
01:44:30: Device-Max-Output-Channels: 0
01:44:30: Device-Host-API: 2 - MME
01:44:30:
01:44:30: Device-Index: 22
01:44:30: Device-Name: Stereo Mix (ASUS Xonar DX Audio Device)
01:44:30: Device-Max-Input-Channels: 2
01:44:30: Device-Max-Output-Channels: 0
01:44:30: Device-Host-API: 2 - MME
01:44:30:
01:44:30: Device-Index: 23
01:44:30: Device-Name: Mikrofon (ASUS Xonar DX Audio Device)
01:44:30: Device-Max-Input-Channels: 2
01:44:30: Device-Max-Output-Channels: 0
01:44:30: Device-Host-API: 2 - MME
01:44:30:
01:44:30: Device-Index: 24
01:44:30: Device-Name: Eingang (ASUS Xonar DX Audio Device)
01:44:30: Device-Max-Input-Channels: 2
01:44:30: Device-Max-Output-Channels: 0
01:44:30: Device-Host-API: 2 - MME
01:44:30:
01:44:30: Device-Index: 25
01:44:30: Device-Name: Eingang (ASUS Xonar DX Audio)
01:44:30: Device-Max-Input-Channels: 2
01:44:30: Device-Max-Output-Channels: 0
01:44:30: Device-Host-API: 3 - ASIO
01:44:30:
01:44:30: Device-Index: 26
01:44:30: Device-Name: Aux (ASUS Xonar DX Audio)
01:44:30: Device-Max-Input-Channels: 2
01:44:30: Device-Max-Output-Channels: 0
01:44:30: Device-Host-API: 3 - ASIO
01:44:30:
01:44:30: Device-Index: 27
01:44:30: Device-Name: Mikrofon (ASUS Xonar DX Audio)
01:44:30: Device-Max-Input-Channels: 2
01:44:30: Device-Max-Output-Channels: 0
01:44:30: Device-Host-API: 3 - ASIO
01:44:30:
01:44:30: Device-Index: 28
01:44:30: Device-Name: Stereo Mix (ASUS Xonar DX Audio)
01:44:30: Device-Max-Input-Channels: 2
01:44:30: Device-Max-Output-Channels: 0
01:44:30: Device-Host-API: 3 - ASIO
01:44:30:
01:44:30: Device-Index: 29
01:44:30: Device-Name: Speakers (ASUS Xonar DX Audio)
01:44:30: Device-Max-Input-Channels: 0
01:44:30: Device-Max-Output-Channels: 8
01:44:30: Device-Host-API: 3 - ASIO
01:44:30:
01:44:30: Device-Index: 30
01:44:30: Device-Name: (ASUS Xonar DX Digital)
01:44:30: Device-Max-Input-Channels: 2
01:44:30: Device-Max-Output-Channels: 0
01:44:30: Device-Host-API: 3 - ASIO
01:44:30:
01:44:30: Device-Index: 31
01:44:30: Device-Name: SPDIF Out (ASUS Xonar DX Digital)
01:44:30: Device-Max-Input-Channels: 0
01:44:30: Device-Max-Output-Channels: 8
01:44:30: Device-Host-API: 3 - ASIO
01:44:30:
01:44:30: Device-Index: 32
01:44:30: Device-Name: Wave (ASUS Xonar DX Audio Wave In)
01:44:30: Device-Max-Input-Channels: 2
01:44:30: Device-Max-Output-Channels: 0
01:44:30: Device-Host-API: 3 - ASIO

- - 8< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Stefan Fendt
2012-02-15 01:29:43 UTC
Permalink
Am 15.02.2012 01:56, schrieb Stefan Fendt:
> wxLogStatus( _("Device-Host-API: %s"), DeviceInfo->hostApi== 0? _("0 - Development-API"):

from portaudio.h:453:

> PaHostApiIndex hostApi; /**< note this is a host API index, not a type
id*/

Gees,... I think I now have understood *why* this info is nuts...
*bang*head*against*something* ;-) sorry for the noise on this...

cu
Stefan
Ross Bencina
2012-02-15 01:58:47 UTC
Permalink
On 15/02/2012 12:29 PM, Stefan Fendt wrote:
> Am 15.02.2012 01:56, schrieb Stefan Fendt:
>> wxLogStatus( _("Device-Host-API: %s"), DeviceInfo->hostApi== 0? _("0 - Development-API"):
>
> from portaudio.h:453:
>
>> PaHostApiIndex hostApi; /**< note this is a host API index, not a type
> id*/
>
> Gees,... I think I now have understood *why* this info is nuts...
> *bang*head*against*something* ;-) sorry for the noise on this...


Try this:

Pa_GetHostApiInfo(deviceInfo->hostAPi)->name

Ross.
Chris
2012-02-15 02:50:54 UTC
Permalink
Here is the result of my failed compilation of the new version (eight
errors, 46 warnings):

Build Log Build started: Project: portaudio, Configuration:
Release|Win32
Command Lines Creating temporary file
"d:\Programs\PureBasic\Source\Audio\PortAudio\snapshot\portaudio\build\ms
vc\Win32\Release\RSP00000530163384.rsp" with contents
[
/O2 /Ob1 /Oi /Ot /Oy /I "..\..\src\common" /I "..\..\include" /I ".\\"
/I "..\..\src\os\win" /D "PA_USE_ASIO=1" /D "PA_USE_WASAPI=1" /D
"PAWIN_USE_WDMKS_DEVICE_INFO" /D "_VC80_UPGRADE=0x0600" /D "_WINDLL"
/GF /FD /EHsc /MT /Zp4 /Gy /fp:fast /Fp"Win32\Release/portaudio.pch"
/Fo"Win32\Release\\" /Fd"Win32\Release\\" /W3 /c /TC
..\..\src\os\win\pa_win_wdmks_utils.c

..\..\src\os\win\pa_win_waveformat.c

..\..\src\os\win\pa_win_util.c

..\..\src\os\win\pa_win_hostapis.c

..\..\src\os\win\pa_win_coinitialize.c

..\..\src\hostapi\wdmks\pa_win_wdmks.c

..\..\src\hostapi\wasapi\pa_win_wasapi.c

..\..\src\hostapi\wmme\pa_win_wmme.c

..\..\src\hostapi\dsound\pa_win_ds_dynlink.c

..\..\src\hostapi\dsound\pa_win_ds.c

..\..\src\common\pa_trace.c

..\..\src\common\pa_stream.c

..\..\src\common\pa_ringbuffer.c

..\..\src\common\pa_process.c

..\..\src\hostapi\skeleton\pa_hostapi_skeleton.c

..\..\src\common\pa_front.c

..\..\src\common\pa_dither.c

..\..\src\common\pa_debugprint.c

..\..\src\common\pa_cpuload.c

..\..\src\common\pa_converters.c

..\..\src\common\pa_allocation.c
]
Creating command line "cl.exe
@d:\Programs\PureBasic\Source\Audio\PortAudio\snapshot\portaudio\build\ms
vc\Win32\Release\RSP00000530163384.rsp /nologo /errorReport:prompt"
Creating temporary file
"d:\Programs\PureBasic\Source\Audio\PortAudio\snapshot\portaudio\build\ms
vc\Win32\Release\RSP00000630163384.rsp" with contents
[
/O2 /Ob1 /Oi /Ot /Oy /I "..\..\src\common" /I "..\..\include" /I ".\\"
/I "..\..\src\os\win" /D "PA_USE_ASIO=1" /D "PA_USE_WASAPI=1" /D
"PAWIN_USE_WDMKS_DEVICE_INFO" /D "_VC80_UPGRADE=0x0600" /D "_WINDLL"
/GF /FD /EHsc /MT /Zp4 /Gy /fp:fast /Fp"Win32\Release/portaudio.pch"
/Fo"Win32\Release\\" /Fd"Win32\Release\\" /W3 /c /TC
..\..\src\os\win\pa_x86_plain_converters.c
]
Creating command line "cl.exe
@d:\Programs\PureBasic\Source\Audio\PortAudio\snapshot\portaudio\build\ms
vc\Win32\Release\RSP00000630163384.rsp /nologo /errorReport:prompt"
Creating temporary file
"d:\Programs\PureBasic\Source\Audio\PortAudio\snapshot\portaudio\build\ms
vc\Win32\Release\RSP00000730163384.rsp" with contents
[
/O2 /Ob1 /Oi /Ot /Oy /I "..\..\src\hostapi\asio\ASIOSDK\host" /I
"..\..\src\hostapi\asio\ASIOSDK\host\pc" /I
"..\..\src\hostapi\asio\ASIOSDK\common" /I "..\..\src\common" /I
"..\..\include" /I ".\\" /I "..\..\src\os\win" /D "PA_USE_ASIO=1" /D
"PA_USE_WASAPI=1" /D "PAWIN_USE_WDMKS_DEVICE_INFO" /D
"_VC80_UPGRADE=0x0600" /D "_WINDLL" /GF /FD /EHsc /MT /Zp4 /Gy /fp:fast
/Fp"Win32\Release/portaudio.pch" /Fo"Win32\Release\\"
/Fd"Win32\Release\\" /W3 /c /TP
..\..\src\hostapi\asio\ASIOSDK\host\pc\asiolist.cpp

..\..\src\hostapi\asio\ASIOSDK\host\asiodrivers.cpp

..\..\src\hostapi\asio\ASIOSDK\common\asio.cpp

..\..\src\hostapi\asio\pa_asio.cpp
]
Creating command line "cl.exe
@d:\Programs\PureBasic\Source\Audio\PortAudio\snapshot\portaudio\build\ms
vc\Win32\Release\RSP00000730163384.rsp /nologo /errorReport:prompt"
Creating temporary file
"d:\Programs\PureBasic\Source\Audio\PortAudio\snapshot\portaudio\build\ms
vc\Win32\Release\RSP00000830163384.rsp" with contents
[
/OUT:"Win32\Release\portaudio_x86.dll" /INCREMENTAL:NO /DLL /MANIFEST
/MANIFESTFILE:"Win32\Release\portaudio_x86.dll.intermediate.manifest"
/MANIFESTUAC:"level='asInvoker' uiAccess='false'"
/DEF:".\portaudio.def" /PDB:"Win32\Release\portaudio_x86.pdb"
/DYNAMICBASE:NO /IMPLIB:"Win32\Release\portaudio_x86.lib" /MACHINE:X86
ksuser.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib
odbccp32.lib

".\Win32\Release\pa_allocation.obj"

".\Win32\Release\pa_converters.obj"

".\Win32\Release\pa_cpuload.obj"

".\Win32\Release\pa_debugprint.obj"

".\Win32\Release\pa_dither.obj"

".\Win32\Release\pa_front.obj"

".\Win32\Release\pa_hostapi_skeleton.obj"

".\Win32\Release\pa_process.obj"

".\Win32\Release\pa_ringbuffer.obj"

".\Win32\Release\pa_stream.obj"

".\Win32\Release\pa_trace.obj"

".\Win32\Release\pa_asio.obj"

".\Win32\Release\asio.obj"

".\Win32\Release\asiodrivers.obj"

".\Win32\Release\asiolist.obj"

".\Win32\Release\pa_win_ds.obj"

".\Win32\Release\pa_win_ds_dynlink.obj"

".\Win32\Release\pa_win_wmme.obj"

".\Win32\Release\pa_win_wasapi.obj"

".\Win32\Release\pa_win_wdmks.obj"

".\Win32\Release\pa_win_coinitialize.obj"

".\Win32\Release\pa_win_hostapis.obj"

".\Win32\Release\pa_win_util.obj"

".\Win32\Release\pa_win_waveformat.obj"

".\Win32\Release\pa_win_wdmks_utils.obj"

".\Win32\Release\pa_x86_plain_converters.obj"
]
Creating command line "link.exe
@d:\Programs\PureBasic\Source\Audio\PortAudio\snapshot\portaudio\build\ms
vc\Win32\Release\RSP00000830163384.rsp /NOLOGO /ERRORREPORT:PROMPT"
Output Window Compiling...
pa_win_wdmks_utils.c
pa_win_waveformat.c
pa_win_util.c
pa_win_hostapis.c
pa_win_coinitialize.c
pa_win_wdmks.c
..\..\src\hostapi\wdmks\pa_win_wdmks.c(660) : warning C4996:
'_vsnprintf': This function or variable may be unsafe. Consider using
_vsnprintf_s instead. To disable deprecation, use
_CRT_SECURE_NO_WARNINGS. See online help for details.
d:\Programs\Microsoft Visual Studio 9.0\VC\include\stdio.h(358)
: see declaration of '_vsnprintf'
..\..\src\hostapi\wdmks\pa_win_wdmks.c(1204) : warning C4996:
'_snwprintf': This function or variable may be unsafe. Consider using
_snwprintf_s instead. To disable deprecation, use
_CRT_SECURE_NO_WARNINGS. See online help for details.
d:\Programs\Microsoft Visual Studio 9.0\VC\include\stdio.h(483)
: see declaration of '_snwprintf'
..\..\src\hostapi\wdmks\pa_win_wdmks.c(1207) : warning C4996:
'_snwprintf': This function or variable may be unsafe. Consider using
_snwprintf_s instead. To disable deprecation, use
_CRT_SECURE_NO_WARNINGS. See online help for details.
d:\Programs\Microsoft Visual Studio 9.0\VC\include\stdio.h(483)
: see declaration of '_snwprintf'
..\..\src\hostapi\wdmks\pa_win_wdmks.c(1581) : warning C4996:
'wcsncpy': This function or variable may be unsafe. Consider using
wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
See online help for details.
d:\Programs\Microsoft Visual Studio
9.0\VC\include\string.h(275) : see declaration of 'wcsncpy'
..\..\src\hostapi\wdmks\pa_win_wdmks.c(1601) : warning C4996:
'wcsncpy': This function or variable may be unsafe. Consider using
wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
See online help for details.
d:\Programs\Microsoft Visual Studio
9.0\VC\include\string.h(275) : see declaration of 'wcsncpy'
..\..\src\hostapi\wdmks\pa_win_wdmks.c(1670) : warning C4996: 'wcscpy':
This function or variable may be unsafe. Consider using wcscpy_s
instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See
online help for details.
..\..\src\hostapi\wdmks\pa_win_wdmks.c(1742) : warning C4996: 'wcscpy':
This function or variable may be unsafe. Consider using wcscpy_s
instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See
online help for details.
..\..\src\hostapi\wdmks\pa_win_wdmks.c(1831) : warning C4996:
'_snwprintf': This function or variable may be unsafe. Consider using
_snwprintf_s instead. To disable deprecation, use
_CRT_SECURE_NO_WARNINGS. See online help for details.
d:\Programs\Microsoft Visual Studio 9.0\VC\include\stdio.h(483)
: see declaration of '_snwprintf'
..\..\src\hostapi\wdmks\pa_win_wdmks.c(1857) : warning C4996: 'wcscpy':
This function or variable may be unsafe. Consider using wcscpy_s
instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See
online help for details.
..\..\src\hostapi\wdmks\pa_win_wdmks.c(1861) : warning C4996: 'wcscpy':
This function or variable may be unsafe. Consider using wcscpy_s
instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See
online help for details.
..\..\src\hostapi\wdmks\pa_win_wdmks.c(2553) : warning C4996:
'wcsncpy': This function or variable may be unsafe. Consider using
wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
See online help for details.
d:\Programs\Microsoft Visual Studio
9.0\VC\include\string.h(275) : see declaration of 'wcsncpy'
..\..\src\hostapi\wdmks\pa_win_wdmks.c(2556) : warning C4996:
'wcsncpy': This function or variable may be unsafe. Consider using
wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
See online help for details.
d:\Programs\Microsoft Visual Studio
9.0\VC\include\string.h(275) : see declaration of 'wcsncpy'
..\..\src\hostapi\wdmks\pa_win_wdmks.c(3394) : warning C4996:
'wcsncpy': This function or variable may be unsafe. Consider using
wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
See online help for details.
d:\Programs\Microsoft Visual Studio
9.0\VC\include\string.h(275) : see declaration of 'wcsncpy'
..\..\src\hostapi\wdmks\pa_win_wdmks.c(3401) : warning C4996:
'wcsncpy': This function or variable may be unsafe. Consider using
wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
See online help for details.
d:\Programs\Microsoft Visual Studio
9.0\VC\include\string.h(275) : see declaration of 'wcsncpy'
..\..\src\hostapi\wdmks\pa_win_wdmks.c(3416) : warning C4996:
'_snwprintf': This function or variable may be unsafe. Consider using
_snwprintf_s instead. To disable deprecation, use
_CRT_SECURE_NO_WARNINGS. See online help for details.
d:\Programs\Microsoft Visual Studio 9.0\VC\include\stdio.h(483)
: see declaration of '_snwprintf'
..\..\src\hostapi\wdmks\pa_win_wdmks.c(3419) : warning C4996:
'_snwprintf': This function or variable may be unsafe. Consider using
_snwprintf_s instead. To disable deprecation, use
_CRT_SECURE_NO_WARNINGS. See online help for details.
d:\Programs\Microsoft Visual Studio 9.0\VC\include\stdio.h(483)
: see declaration of '_snwprintf'
pa_win_wasapi.c
..\..\src\hostapi\wasapi\pa_win_wasapi.c(1118) : warning C4996:
'wcsncpy': This function or variable may be unsafe. Consider using
wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
See online help for details.
d:\Programs\Microsoft Visual Studio
9.0\VC\include\string.h(275) : see declaration of 'wcsncpy'
..\..\src\hostapi\wasapi\pa_win_wasapi.c(1142) : warning C4996:
'wcsncpy': This function or variable may be unsafe. Consider using
wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
See online help for details.
d:\Programs\Microsoft Visual Studio
9.0\VC\include\string.h(275) : see declaration of 'wcsncpy'
..\..\src\hostapi\wasapi\pa_win_wasapi.c(1204) : warning C4996:
'wcsncpy': This function or variable may be unsafe. Consider using
wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
See online help for details.
d:\Programs\Microsoft Visual Studio
9.0\VC\include\string.h(275) : see declaration of 'wcsncpy'
..\..\src\hostapi\wasapi\pa_win_wasapi.c(1251) : warning C4996:
'wcstombs': This function or variable may be unsafe. Consider using
wcstombs_s instead. To disable deprecation, use
_CRT_SECURE_NO_WARNINGS. See online help for details.
d:\Programs\Microsoft Visual Studio
9.0\VC\include\stdlib.h(534) : see declaration of 'wcstombs'
..\..\src\hostapi\wasapi\pa_win_wasapi.c(1253) : warning C4996:
'_snprintf': This function or variable may be unsafe. Consider using
_snprintf_s instead. To disable deprecation, use
_CRT_SECURE_NO_WARNINGS. See online help for details.
d:\Programs\Microsoft Visual Studio 9.0\VC\include\stdio.h(358)
: see declaration of '_snprintf'
..\..\src\hostapi\wasapi\pa_win_wasapi.c(3464) : warning C4018: '>' :
signed/unsigned mismatch
pa_win_wmme.c
..\..\src\hostapi\wmme\pa_win_wmme.c(210) : warning C4996: 'strcpy':
This function or variable may be unsafe. Consider using strcpy_s
instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See
online help for details.
..\..\src\hostapi\wmme\pa_win_wmme.c(719) : warning C4996: 'strcat':
This function or variable may be unsafe. Consider using strcat_s
instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See
online help for details.
..\..\src\hostapi\wmme\pa_win_wmme.c(845) : warning C4996: 'strcat':
This function or variable may be unsafe. Consider using strcat_s
instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See
online help for details.
pa_win_ds_dynlink.c
pa_win_ds.c
..\..\src\hostapi\dsound\pa_win_ds.c(575) : warning C4996: 'wcscpy':
This function or variable may be unsafe. Consider using wcscpy_s
instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See
online help for details.
..\..\src\hostapi\dsound\pa_win_ds.c(1309) : warning C4133: 'function'
: incompatible types - from 'PaWinDsHostApiRepresentation *' to
'PaUtilHostApiRepresentation *'
..\..\src\hostapi\dsound\pa_win_ds.c(1706) : warning C4244:
'initializing' : conversion from 'double' to 'unsigned long', possible
loss of data
..\..\src\hostapi\dsound\pa_win_ds.c(1707) : warning C4244:
'initializing' : conversion from 'double' to 'unsigned long', possible
loss of data
..\..\src\hostapi\dsound\pa_win_ds.c(1708) : warning C4244:
'initializing' : conversion from 'double' to 'unsigned long', possible
loss of data
..\..\src\hostapi\dsound\pa_win_ds.c(1774) : warning C4244:
'initializing' : conversion from 'double' to 'unsigned long', possible
loss of data
..\..\src\hostapi\dsound\pa_win_ds.c(1775) : warning C4244:
'initializing' : conversion from 'double' to 'unsigned long', possible
loss of data
..\..\src\hostapi\dsound\pa_win_ds.c(1776) : warning C4244:
'initializing' : conversion from 'double' to 'unsigned long', possible
loss of data
..\..\src\hostapi\dsound\pa_win_ds.c(2732) : warning C4244: '=' :
conversion from 'double' to 'int', possible loss of data
..\..\src\hostapi\dsound\pa_win_ds.c(2727) : warning C4101: 'mmResult'
: unreferenced local variable
..\..\src\hostapi\dsound\pa_win_ds.c(2728) : warning C4101:
'hWaitableTimer' : unreferenced local variable
..\..\src\hostapi\dsound\pa_win_ds.c(2956) : warning C4244:
'initializing' : conversion from 'double' to 'int', possible loss of
data
..\..\src\hostapi\dsound\pa_win_ds.c(2970) : warning C4244: '=' :
conversion from 'double' to 'UINT', possible loss of data
pa_trace.c
pa_stream.c
pa_ringbuffer.c
pa_process.c
pa_hostapi_skeleton.c
pa_front.c
..\..\src\common\pa_front.c(112) : warning C4996: 'strncpy': This
function or variable may be unsafe. Consider using strncpy_s instead.
To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help
for details.
d:\Programs\Microsoft Visual Studio
9.0\VC\include\string.h(157) : see declaration of 'strncpy'
pa_dither.c
pa_debugprint.c
..\..\src\common\pa_debugprint.c(109) : warning C4996: '_vsnprintf':
This function or variable may be unsafe. Consider using _vsnprintf_s
instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See
online help for details.
d:\Programs\Microsoft Visual Studio 9.0\VC\include\stdio.h(358)
: see declaration of '_vsnprintf'
pa_cpuload.c
pa_converters.c
Generating Code...
Compiling...
pa_allocation.c
Generating Code...
Compiling...
pa_x86_plain_converters.c
Compiling...
asiolist.cpp
..\..\src\hostapi\asio\ASIOSDK\host\pc\asiolist.cpp(87) : warning
C4996: 'strcpy': This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_WARNINGS. See online help for details.
d:\Programs\Microsoft Visual Studio 9.0\VC\include\string.h(74)
: see declaration of 'strcpy'
..\..\src\hostapi\asio\ASIOSDK\host\pc\asiolist.cpp(89) : warning
C4996: 'strcpy': This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_WARNINGS. See online help for details.
d:\Programs\Microsoft Visual Studio 9.0\VC\include\string.h(74)
: see declaration of 'strcpy'
..\..\src\hostapi\asio\ASIOSDK\host\pc\asiolist.cpp(224) : warning
C4996: 'strcpy': This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_WARNINGS. See online help for details.
d:\Programs\Microsoft Visual Studio 9.0\VC\include\string.h(74)
: see declaration of 'strcpy'
..\..\src\hostapi\asio\ASIOSDK\host\pc\asiolist.cpp(246) : warning
C4996: 'strcpy': This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_WARNINGS. See online help for details.
d:\Programs\Microsoft Visual Studio 9.0\VC\include\string.h(74)
: see declaration of 'strcpy'
asiodrivers.cpp
asio.cpp
..\..\src\hostapi\asio\ASIOSDK\common\asio.cpp(76) : warning C4996:
'strcpy': This function or variable may be unsafe. Consider using
strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
See online help for details.
d:\Programs\Microsoft Visual Studio 9.0\VC\include\string.h(74)
: see declaration of 'strcpy'
..\..\src\hostapi\asio\ASIOSDK\common\asio.cpp(86) : warning C4996:
'strcpy': This function or variable may be unsafe. Consider using
strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
See online help for details.
d:\Programs\Microsoft Visual Studio 9.0\VC\include\string.h(74)
: see declaration of 'strcpy'
..\..\src\hostapi\asio\ASIOSDK\common\asio.cpp(205) : warning C4996:
'strcpy': This function or variable may be unsafe. Consider using
strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
See online help for details.
d:\Programs\Microsoft Visual Studio 9.0\VC\include\string.h(74)
: see declaration of 'strcpy'
pa_asio.cpp
Generating Code...
Linking...
Creating library Win32\Release\portaudio_x86.lib and object
Win32\Release\portaudio_x86.exp
pa_win_wdmks.obj : error LNK2019: unresolved external symbol
__imp__SetupDiOpenDeviceInterfaceRegKey at 16 referenced in function
_BuildFilterList
pa_win_wdmks.obj : error LNK2019: unresolved external symbol
__imp__SetupDiGetDeviceRegistryPropertyW at 28 referenced in function
_BuildFilterList
pa_win_wdmks.obj : error LNK2019: unresolved external symbol
__imp__SetupDiGetDeviceInterfaceDetailW at 24 referenced in function
_BuildFilterList
pa_win_wdmks.obj : error LNK2019: unresolved external symbol
__imp__SetupDiDestroyDeviceInfoList at 4 referenced in function
_BuildFilterList
pa_win_wdmks.obj : error LNK2019: unresolved external symbol
__imp__SetupDiGetDeviceInterfaceAlias at 16 referenced in function
_BuildFilterList
pa_win_wdmks.obj : error LNK2019: unresolved external symbol
__imp__SetupDiEnumDeviceInterfaces at 20 referenced in function
_BuildFilterList
pa_win_wdmks.obj : error LNK2019: unresolved external symbol
__imp__SetupDiGetClassDevsA at 16 referenced in function _BuildFilterList
Win32\Release\portaudio_x86.dll : fatal error LNK1120: 7 unresolved
externals
Results Build log was saved at
"file://d:\Programs\PureBasic\Source\Audio\PortAudio\snapshot\portaudio\b
uild\msvc\Win32\Release\BuildLog.htm"
portaudio - 8 error(s), 47 warning(s)
Robert Bielik
2012-02-15 06:18:19 UTC
Permalink
Hi Chris,

Chris skrev 2012-02-15 03:50:
> Creating library Win32\Release\portaudio_x86.lib and object Win32\Release\portaudio_x86.exp
> pa_win_wdmks.obj : error LNK2019: unresolved external symbol __imp__SetupDiOpenDeviceInterfaceRegKey at 16 referenced in function _BuildFilterList
> pa_win_wdmks.obj : error LNK2019: unresolved external symbol __imp__SetupDiGetDeviceRegistryPropertyW at 28 referenced in function _BuildFilterList
> pa_win_wdmks.obj : error LNK2019: unresolved external symbol __imp__SetupDiGetDeviceInterfaceDetailW at 24 referenced in function _BuildFilterList
> pa_win_wdmks.obj : error LNK2019: unresolved external symbol __imp__SetupDiDestroyDeviceInfoList at 4 referenced in function _BuildFilterList
> pa_win_wdmks.obj : error LNK2019: unresolved external symbol __imp__SetupDiGetDeviceInterfaceAlias at 16 referenced in function _BuildFilterList
> pa_win_wdmks.obj : error LNK2019: unresolved external symbol __imp__SetupDiEnumDeviceInterfaces at 20 referenced in function _BuildFilterList
> pa_win_wdmks.obj : error LNK2019: unresolved external symbol __imp__SetupDiGetClassDevsA at 16 referenced in function _BuildFilterList

Your project needs to link with setupapi.lib, oddly enough that should be taken care of by the pragma in pa_win_wdmks.c (56)...

Regards,
/Rob
Chris
2012-02-15 06:30:33 UTC
Permalink
Hi Rob -

Is there a way to make this happen automagically? This compilation is
right out of the box with my usual settings.

Thanks,

Chris


-----Original Message-----
From: Robert Bielik <robert at xponaut.com>
To: portaudio <portaudio at music.columbia.edu>
Sent: Tue, Feb 14, 2012 10:19 pm
Subject: Re: [Portaudio] nightly snapshot fixed

Your project needs to link with setupapi.lib, oddly enough that should
be taken
care of by the pragma in pa_win_wdmks.c (56)...

Regards,
/Rob
Robert Bielik
2012-02-15 06:44:04 UTC
Permalink
Hi Chris,

Chris skrev 2012-02-15 07:30:
> Is there a way to make this happen automagically? This compilation is right out of the box with my usual settings.

Normally the pragma should take care of that. But I tried building the latest snapshot with the MSVC build files, and it compiles cleanly (I'm using VS2005)

Weird... what's your build setup ?

Regards,
/Rob
Chris
2012-02-15 07:42:51 UTC
Permalink
It is Visual C++ 2008 Express Edition.


-----Original Message-----
From: Robert Bielik <robert at xponaut.com>
To: portaudio <portaudio at music.columbia.edu>
Sent: Tue, Feb 14, 2012 10:45 pm
Subject: Re: [Portaudio] nightly snapshot fixed


Hi Chris,

Chris skrev 2012-02-15 07:30:
> Is there a way to make this happen automagically? This compilation is
right
out of the box with my usual settings.

Normally the pragma should take care of that. But I tried building the
latest
snapshot with the MSVC build files, and it compiles cleanly (I'm using
VS2005)

Weird... what's your build setup ?

Regards,
/Rob
Ross Bencina
2012-02-15 07:47:13 UTC
Permalink
Hi Chris

On 15/02/2012 6:42 PM, Chris wrote:
> It is Visual C++ 2008 Express Edition.

You might want to search your libs directory for setupapi.lib

Possibly you need to install the platform SDK (assuming that even works
with the Express Edition).

Ross.
Chris
2012-02-15 08:19:58 UTC
Permalink
SetupAPI.Lib is in C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib.

Searching the docs was of no help, naturally.


-----Original Message-----
From: Ross Bencina <rossb-lists at audiomulch.com>
To: Portaudio Mailing List <portaudio at music.columbia.edu>
Sent: Tue, Feb 14, 2012 11:48 pm
Subject: Re: [Portaudio] nightly snapshot fixed


Hi Chris

On 15/02/2012 6:42 PM, Chris wrote:
> It is Visual C++ 2008 Express Edition.

You might want to search your libs directory for setupapi.lib

Possibly you need to install the platform SDK (assuming that even works
with the Express Edition).

Ross.
Ross Bencina
2012-02-15 08:22:22 UTC
Permalink
On 15/02/2012 7:19 PM, Chris wrote:
> SetupAPI.Lib is in C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib.

OK.

Is that path in the your libaries path? (somewhere in project settings,
probably on the linker page). If not you could try adding it.

Ross.
Chris
2012-02-15 08:36:29 UTC
Permalink
It took a web search to find it but I came across this page:

http://www.cygnal.org/ubb/Forum9/HTML/001487.html

And this sentence:

<< under Linker Input, added the following "Additional Dependencies":
"setupapi.lib" and "hid.lib" (Actually these were here from the
download). >>

So I went into VC++ and added SetupAPI.lib to the linker input and it
linked successfully. So maybe this needs to be added to the "solution"?

Thanks, Ross.


-----Original Message-----
From: Ross Bencina <rossb-lists at audiomulch.com>
To: Portaudio Mailing List <portaudio at music.columbia.edu>
Sent: Wed, Feb 15, 2012 12:23 am
Subject: Re: [Portaudio] nightly snapshot fixed




On 15/02/2012 7:19 PM, Chris wrote:
> SetupAPI.Lib is in C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib.

OK.

Is that path in the your libaries path? (somewhere in project settings,
probably on the linker page). If not you could try adding it.

Ross.
Robert Bielik
2012-02-15 08:39:45 UTC
Permalink
Hi Chris,

Chris skrev 2012-02-15 09:36:
> So I went into VC++ and added SetupAPI.lib to the linker input and it linked successfully. So maybe this needs to be added to the "solution"?

That is what the pragma should accomplish "under the hood", maybe VC++ express behaves differently... But yes, it could be added explicitly to the solution files.

Regards,
/Rob
Ross Bencina
2012-02-15 08:50:33 UTC
Permalink
On 15/02/2012 7:36 PM, Chris wrote:
> It took a web search to find it but I came across this page:
>
> http://www.cygnal.org/ubb/Forum9/HTML/001487.html
>
> And this sentence:
>
> << under Linker Input, added the following "Additional Dependencies":
> "setupapi.lib" and "hid.lib" (Actually these were here from the
> download). >>
>
> So I went into VC++ and added SetupAPI.lib to the linker input and it
> linked successfully. So maybe this needs to be added to the "solution"?
>
> Thanks, Ross.


Well, that's not actually what I suggested you do.. I suggested you add
the path to the libs search path, not to add the lib to the libs list.

However, given that it's now linking without adding the path to the libs
search path I'm confused. As Robert says, the #pragma should have the
same effect as what you did manually. There are other similar pragmas
used elsewhere in PA and presumably they are working or you wouldn't
have been able to build it at all.

As for how to debug it further, not sure.

Ross.
Chris
2012-02-15 09:27:06 UTC
Permalink
I removed setupapi.lib from the linker input and added the full path to
it in portaudio Properties -> Configuration Properties -> Linker ->
General -> Additional Library Directories and the compilation failed.
Instead of the full path I entered just SetupAPI.lib and still no joy.
I put it back in the linker input and it compiles OK now.


-----Original Message-----
From: Ross Bencina <rossb-lists at audiomulch.com>
To: Portaudio Mailing List <portaudio at music.columbia.edu>
Sent: Wed, Feb 15, 2012 12:51 am
Subject: Re: [Portaudio] nightly snapshot fixed




On 15/02/2012 7:36 PM, Chris wrote:
> It took a web search to find it but I came across this page:
>
> http://www.cygnal.org/ubb/Forum9/HTML/001487.html
>
> And this sentence:
>
> << under Linker Input, added the following "Additional Dependencies":
> "setupapi.lib" and "hid.lib" (Actually these were here from the
> download). >>
>
> So I went into VC++ and added SetupAPI.lib to the linker input and it
> linked successfully. So maybe this needs to be added to the
"solution"?
>
> Thanks, Ross.


Well, that's not actually what I suggested you do.. I suggested you add
the path to the libs search path, not to add the lib to the libs list.

However, given that it's now linking without adding the path to the
libs
search path I'm confused. As Robert says, the #pragma should have the
same effect as what you did manually. There are other similar pragmas
used elsewhere in PA and presumably they are working or you wouldn't
have been able to build it at all.

As for how to debug it further, not sure.

Ross.
Ross Bencina
2012-02-15 10:19:13 UTC
Permalink
On 15/02/2012 8:27 PM, Chris wrote:
> I removed setupapi.lib from the linker input and added the full path to
> it in portaudio Properties -> Configuration Properties -> Linker ->
> General -> Additional Library Directories and the compilation failed.
> Instead of the full path I entered just SetupAPI.lib and still no joy.

I'm not sure whether you did this: but you need to enter *just the
path*, without "SetupAPI.lib" into the "Additional Library Directories"
field (it's the directory where it looks for the libraries, such as
SetupAPI.lib).

Can you confirm if that's what you did, i'm unsure from what you wrote
above.

Thanks

Ross.
Chris
2012-02-15 18:24:09 UTC
Permalink
At your request I have tried entering JUST the directory path without
the file name into Additional Library Directories, and the compilation
failed. I entered both C:\Program Files\Microsoft
SDKs\Windows\v6.0A\Lib and C:\Program Files\Microsoft
SDKs\Windows\v6.0A\Lib\ the latter being terminated in a backslash.


-----Original Message-----
From: Ross Bencina <rossb-lists at audiomulch.com>
To: Portaudio Mailing List <portaudio at music.columbia.edu>
Sent: Wed, Feb 15, 2012 2:20 am
Subject: Re: [Portaudio] nightly snapshot fixed




On 15/02/2012 8:27 PM, Chris wrote:
> I removed setupapi.lib from the linker input and added the full path
to
> it in portaudio Properties -> Configuration Properties -> Linker ->
> General -> Additional Library Directories and the compilation failed.
> Instead of the full path I entered just SetupAPI.lib and still no joy.

I'm not sure whether you did this: but you need to enter *just the
path*, without "SetupAPI.lib" into the "Additional Library Directories"
field (it's the directory where it looks for the libraries, such as
SetupAPI.lib).

Can you confirm if that's what you did, i'm unsure from what you wrote
above.

Thanks

Ross.
Chris
2012-02-15 22:59:31 UTC
Permalink
Having gotten the latest snapshot to compile, when I launch my program
I get the following error:

Microsoft Visual C++ Runtime Library

Assertion failed!

Program: pa_win_wdmks.c

Line 3178

Expression: hash != 0

This happens after the call to Pa_Initialize().

The audio devices on my system are a PCI sound card, a USB interface
and the program Virtual Audio Cable.
Robert Bielik
2012-02-16 06:45:42 UTC
Permalink
Hi Chris,

Chris skrev 2012-02-15 23:59:
> Expression: hash != 0

Even though it is not a fatal problem, it means that a KS pin "friendly name" is empty, which in turn will yield a
strange PA device name (with no name before the parathesis enclosed KS device name). This is indicative of a problem getting the KS pin name.

Would be interesting if you compile PA with debug output, and send the debug trace, if possible.

Regards,
/Rob
Chris
2012-02-16 07:04:26 UTC
Permalink
I would consider it a fatal error because the program stops running.

I can't seem to enable debug output, sorry. I used to see it but now,
when I put in the command that enables it, doesn't appear.


-----Original Message-----
From: Robert Bielik <robert at xponaut.com>
To: portaudio <portaudio at music.columbia.edu>
Sent: Wed, Feb 15, 2012 10:45 pm
Subject: Re: [Portaudio] nightly snapshot fixed


Hi Chris,

Chris skrev 2012-02-15 23:59:
> Expression: hash != 0

Even though it is not a fatal problem, it means that a KS pin "friendly
name" is
empty, which in turn will yield a
strange PA device name (with no name before the parathesis enclosed KS
device
name). This is indicative of a problem getting the KS pin name.

Would be interesting if you compile PA with debug output, and send the
debug
trace, if possible.

Regards,
/Rob
Robert Bielik
2012-02-16 07:12:28 UTC
Permalink
Hi Chris,

Chris skrev 2012-02-16 08:04:
> I would consider it a fatal error because the program stops running.

If it stops the program in Release build, I'd also consider it fatal, but it is an assert so that should not happen (note that
NDEBUG needs to be defined in Release build, acc. to assert.h).

> I can't seem to enable debug output, sorry. I used to see it but now, when I put in the command that enables it, doesn't appear.

I'm not sure I follow: PA_ENABLE_DEBUG_OUTPUT must be defined (in your preprocessor settings) and if you've used PaUtil_SetDebugPrintFunction, the
debug will come through your supplied function, otherwise through stderr.

Regards,
/Rob
Ross Bencina
2012-02-16 08:04:15 UTC
Permalink
On 16/02/2012 6:04 PM, Chris wrote:
> I would consider it a fatal error because the program stops running.

I agree.

Robert, I would not advise using asserts for non-fatal errors in the PA
code base.

Short rule of thumb: write code as if you expect people will ship
production code with NDEBUG *undefined*.

In PortAudio, most of these kind of errors should at-worst return a
paUnexpectedInternalError result, or implement a workaround. In this
case maybe returning "<<error: Unnamed Pin!>>" or something that is
noticable as strange to the user would be a good idea.

I would only use assert() for checking invariants that PortAudio has
full control over (ie if the assert fails it really does indicate a
nasty bug in PortAudio). Mostly I use them for documenting conditions
that absolutely are expected to be true. I wouldn't use them against
external APIs unless you're happy for PA to crash when the external API
doesn't do what you want (i.e. never).

Ross.
Robert Bielik
2012-02-16 08:54:10 UTC
Permalink
Hi Ross, Chris

Ross Bencina skrev 2012-02-16 09:04:
> Short rule of thumb: write code as if you expect people will ship production code with NDEBUG *undefined*.

Yes, you're right, a bit of cmake blindness I guess (where NDEBUG always is defined in Release builds).

> In PortAudio, most of these kind of errors should at-worst return a paUnexpectedInternalError result, or implement a workaround. In this case maybe returning "<<error: Unnamed Pin!>>" or something that is noticable as strange to the user would be a good idea.

Or maybe altogether ditching the pin in question... Hmmm. It would be interesting to know where the problem during the pin enumeration/instantiation is though...

> I wouldn't use them against external APIs unless you're happy for PA to crash when the external API doesn't do what you want (i.e. never).

I wouldn't either, and it is not really what I'm doing, however it is indicative of a bug during pin enumeration that I agree should be dealt with some other way, preferably getting it solved, which incidentally is one of the aims of having the code in the trunk :)

I'll sort something out there. One way is to assure that the name after pin instantiation always is defined, if not else as just "input" or "output".

Regards,
/Rob

>
> Ross.
> _______________________________________________
> Portaudio mailing list
> Portaudio at music.columbia.edu
> http://music.columbia.edu/mailman/listinfo/portaudio
Chris
2012-02-16 09:14:45 UTC
Permalink
When I put PA_ENABLE_DEBUG_OUTPUT in Preprocessor -> Definitions, there
is still no debug output.


-----Original Message-----
From: Robert Bielik <robert at xponaut.com>
To: Portaudio Mailing List <portaudio at music.columbia.edu>
Sent: Wed, Feb 15, 2012 11:12 pm
Subject: Re: [Portaudio] nightly snapshot fixed


Hi Chris,

Chris skrev 2012-02-16 08:04:
> I would consider it a fatal error because the program stops running.

If it stops the program in Release build, I'd also consider it fatal,
but it is
an assert so that should not happen (note that
NDEBUG needs to be defined in Release build, acc. to assert.h).

> I can't seem to enable debug output, sorry. I used to see it but now,
when I
put in the command that enables it, doesn't appear.

I'm not sure I follow: PA_ENABLE_DEBUG_OUTPUT must be defined (in your
preprocessor settings) and if you've used PaUtil_SetDebugPrintFunction,
the
debug will come through your supplied function, otherwise through
stderr.

Regards,
/Rob
Oliver Rettig
2012-02-16 08:17:20 UTC
Permalink
Hi Robert,

I had the same asertion error some month ago. I have attached the log. Hope
this helps to fix the problem:

> 1.894: GetConnectionFrom: Returning 00383A60
> 1.896: GetConnectionFrom: Checking 38 connections... (pTo = 00383A60)
> 1.899: GetConnectionFrom: Returning 00383A50
> 1.901: PinNew: Found endpoint pin id 0
> 1.905: PinNew: Checking for input endpoint pin id (1)...
> 1.916: FindStartConnectionFrom: Checking 38 connections... 1.916:
> GetConnectedP
> in: count=27, forward=0, muxPosition=1
> 1.925: GetNumberOfConnectionsTo: Checking 38 connections... 1.926:
> GetConnectio
> nFrom: Checking 38 connections... (pTo = 00383B70)
> 1.931: GetConnectionFrom: Returning 00383A80
> 1.934: GetConnectionFrom: Checking 38 connections... (pTo = 00383A80)
> 1.936: GetConnectionFrom: Returning 00383A70
> 1.942: GetConnectedPin: count=27, forward=0, muxPosition=1
> 2.071: GetConnectionFrom: Checking 38 connections... (pTo = 00383A70)
> 2.073: GetConnectionFrom: Returning 00383930
> 2.076: PinNew: Found endpoint pin id 1
> 2.079: GetNameFromCategory: USB GUID 0603 -> 'L'
> 2.082: PinNew: Checking for input endpoint pin id (2)...
> 2.084: FindStartConnectionFrom: Checking 38 connections... 2.085:
> GetConnectedP
> in: count=27, forward=0, muxPosition=2
> 2.093: GetNumberOfConnectionsTo: Checking 38 connections... 2.094:
> GetConnectio
> nFrom: Checking 38 connections... (pTo = 00383B70)
> 2.099: GetConnectionFrom: Returning 00383AA0
> 2.101: GetConnectionFrom: Checking 38 connections... (pTo = 00383AA0)
> 2.105: GetConnectionFrom: Returning 00383A90
> 2.232: GetConnectedPin: count=27, forward=0, muxPosition=2
> 2.234: GetConnectionFrom: Checking 38 connections... (pTo = 00383A90)
> 2.237: GetConnectionFrom: Returning 00383960
> 2.239: PinNew: Found endpoint pin id 2
> 2.242: GetNameFromCategory: USB GUID 0601 -> 'A'
> 2.245: PinNew: Checking for input endpoint pin id (3)...
> 2.247: FindStartConnectionFrom: Checking 38 connections... 2.248:
> GetConnectedP
> in: count=27, forward=0, muxPosition=3
> 2.253: GetNumberOfConnectionsTo: Checking 38 connections... 2.253:
> GetConnectio
> nFrom: Checking 38 connections... (pTo = 00383B70)
> 2.262: GetConnectionFrom: Returning 00383AC0
> 2.264: GetConnectionFrom: Checking 38 connections... (pTo = 00383AC0)
> 2.267: GetConnectionFrom: Returning 00383AB0
> 2.270: GetConnectedPin: count=27, forward=0, muxPosition=3
> 2.275: GetConnectionFrom: Checking 38 connections... (pTo = 00383AB0)
> 2.282: GetConnectionFrom: Returning 00383990
> 2.286: PinNew: Found endpoint pin id 3
> 2.293: PinNew: Checking for input endpoint pin id (4)...
> 2.296: FindStartConnectionFrom: Checking 38 connections... 2.296:
> GetConnectedP
> in: count=27, forward=0, muxPosition=4
> 2.301: GetNumberOfConnectionsTo: Checking 38 connections... 2.301:
> GetConnectio
> nFrom: Checking 38 connections... (pTo = 00383B70)
> 2.425: GetConnectionFrom: Returning 00383AE0
> 2.428: GetConnectionFrom: Checking 38 connections... (pTo = 00383AE0)
> 2.430: GetConnectionFrom: Returning 00383AD0
> 2.433: GetConnectedPin: count=27, forward=0, muxPosition=4
> 2.436: GetConnectionFrom: Checking 38 connections... (pTo = 00383AD0)
> 2.441: GetConnectionFrom: Returning 003839C0
> 2.448: PinNew: Found endpoint pin id 4
> 2.453: GetNameFromCategory: USB GUID 0201 -> 'M'
> 2.459: PinNew: Checking for input endpoint pin id (5)...
> 2.462: FindStartConnectionFrom: Checking 38 connections... 2.462:
> GetConnectedP
> in: count=27, forward=0, muxPosition=5
> 2.578: GetNumberOfConnectionsTo: Checking 38 connections... 2.578:
> GetConnectio
> nFrom: Checking 38 connections... (pTo = 00383B70)
> 2.583: GetConnectionFrom: Returning 00383B40
> 2.585: GetConnectionFrom: Checking 38 connections... (pTo = 00383B40)
> 2.592: GetConnectionFrom: Returning 00383B30
> 2.594: GetConnectedPin: count=27, forward=0, muxPosition=5
> 2.597: GetConnectionFrom: Checking 38 connections... (pTo = 00383B30)
> 2.600: GetConnectionFrom: Returning 00383B20
> 2.602: GetConnectedPin: count=27, forward=0, muxPosition=5
> 2.608: GetConnectionFrom: Checking 38 connections... (pTo = 00383B20)
> 2.615: GetConnectionFrom: Returning 00383B10
> 2.619: GetConnectedPin: count=27, forward=0, muxPosition=5
> 2.626: GetConnectionFrom: Checking 38 connections... (pTo = 00383B10)
> 2.628: GetConnectionFrom: Returning 00383B00
> 2.631: GetConnectedPin: count=27, forward=0, muxPosition=5
> 2.634: GetConnectionFrom: Checking 38 connections... (pTo = 00383B00)
> 2.636: GetConnectionFrom: Returning 00383AF0
> 2.643: PinNew: Found endpoint pin id 6
> 2.650: GetNameFromCategory: USB GUID 0605 -> 'S'
> 2.653: PinNew: Checking for input endpoint pin id (6)...
> 2.759: FindStartConnectionFrom: Checking 38 connections... 2.760:
> GetConnectedP
> in: count=27, forward=0, muxPosition=6
> 2.764: GetNumberOfConnectionsTo: Checking 38 connections... 2.765:
> GetConnectio
> nFrom: Checking 38 connections... (pTo = 00383B70)
> 2.770: GetConnectionFrom: Returning 00383B60
> 2.772: GetConnectionFrom: Checking 38 connections... (pTo = 00383B60)
> 2.775: GetConnectionFrom: Returning 00383B50
> 2.778: PinNew: Found endpoint pin id 5
> 2.780: GetNameFromCategory: USB GUID 0601 -> 'A'
> 2.783: PinNew: Checking for input endpoint pin id (7)...
> 2.786: FindStartConnectionFrom: Checking 38 connections... 2.786:
> GetConnectedP
> in: count=27, forward=0, muxPosition=7
> 2.795: GetNumberOfConnectionsTo: Checking 38 connections... 2.795:
> GetConnectio
> nFrom: Checking 38 connections... (pTo = 00383B70)
> 2.913: GetConnectionFrom: Returning 00000000
> 2.916: PinNew: Done with inputs.
> 2.918: PinNew: Setting up 5 inputs
> 2.925: FindStartConnectionFrom: Checking 38 connections... 2.925:
> GetConnectedP
> in: count=27, forward=0, muxPosition=0
> 2.930: GetNumberOfConnectionsTo: Checking 38 connections... 2.930:
> GetConnectio
> nFrom: Checking 38 connections... (pTo = 00383B70)
> 2.936: GetConnectionFrom: Returning 00383A60
> 2.941: GetConnectionFrom: Checking 38 connections... (pTo = 00383A60)
> 2.948: GetConnectionFrom: Returning 00383A50
> 3.063: FindStartConnectionFrom: Checking 38 connections... 3.063:
> GetConnectedP
> in: count=27, forward=0, muxPosition=1
> 3.068: GetNumberOfConnectionsTo: Checking 38 connections... 3.068:
> GetConnectio
> nFrom: Checking 38 connections... (pTo = 00383B70)
> 3.073: GetConnectionFrom: Returning 00383A80
> 3.076: GetConnectionFrom: Checking 38 connections... (pTo = 00383A80)
> 3.079: GetConnectionFrom: Returning 00383A70
> 3.082: GetConnectedPin: count=27, forward=0, muxPosition=1
> 3.084: GetConnectionFrom: Checking 38 connections... (pTo = 00383A70)
> 3.091: GetConnectionFrom: Returning 00383930
> 3.093: GetNameFromCategory: USB GUID 0603 -> 'L'
> 3.096: FindStartConnectionFrom: Checking 38 connections... 3.096:
> GetConnectedP
> in: count=27, forward=0, muxPosition=2
> 3.212: GetNumberOfConnectionsTo: Checking 38 connections... 3.212:
> GetConnectio
> nFrom: Checking 38 connections... (pTo = 00383B70)
> 3.218: GetConnectionFrom: Returning 00383AA0
> 3.225: GetConnectionFrom: Checking 38 connections... (pTo = 00383AA0)
> 3.227: GetConnectionFrom: Returning 00383A90
> 3.230: GetConnectedPin: count=27, forward=0, muxPosition=2
> 3.234: GetConnectionFrom: Checking 38 connections... (pTo = 00383A90)
> 3.236: GetConnectionFrom: Returning 00383960
> 3.243: GetNameFromCategory: USB GUID 0601 -> 'A'
> 3.250: FindStartConnectionFrom: Checking 38 connections... 3.251:
> GetConnectedP
> in: count=27, forward=0, muxPosition=3
> 3.260: GetNumberOfConnectionsTo: Checking 38 connections... 3.260:
> GetConnectio
> nFrom: Checking 38 connections... (pTo = 00383B70)
> 3.265: GetConnectionFrom: Returning 00383AC0
> 3.268: GetConnectionFrom: Checking 38 connections... (pTo = 00383AC0)
> 3.274: GetConnectionFrom: Returning 00383AB0
> 3.283: GetConnectedPin: count=27, forward=0, muxPosition=3
> 3.286: GetConnectionFrom: Checking 38 connections... (pTo = 00383AB0)
> 3.293: GetConnectionFrom: Returning 00383990
> 3.295: FindStartConnectionFrom: Checking 38 connections... 3.295:
> GetConnectedP
> in: count=27, forward=0, muxPosition=4
> 3.408: GetNumberOfConnectionsTo: Checking 38 connections... 3.408:
> GetConnectio
> nFrom: Checking 38 connections... (pTo = 00383B70)
> 3.413: GetConnectionFrom: Returning 00383AE0
> 3.415: GetConnectionFrom: Checking 38 connections... (pTo = 00383AE0)
> 3.418: GetConnectionFrom: Returning 00383AD0
> 3.424: GetConnectedPin: count=27, forward=0, muxPosition=4
> 3.427: GetConnectionFrom: Checking 38 connections... (pTo = 00383AD0)
> 3.430: GetConnectionFrom: Returning 003839C0
> 3.433: GetNameFromCategory: USB GUID 0201 -> 'M'
> 3.436: FindStartConnectionFrom: Checking 38 connections... 3.436:
> GetConnectedP
> in: count=27, forward=0, muxPosition=5
> 3.557: GetNumberOfConnectionsTo: Checking 38 connections... 3.557:
> GetConnectio
> nFrom: Checking 38 connections... (pTo = 00383B70)
> 3.562: GetConnectionFrom: Returning 00383B40
> 3.564: GetConnectionFrom: Checking 38 connections... (pTo = 00383B40)
> 3.567: GetConnectionFrom: Returning 00383B30
> 3.570: GetConnectedPin: count=27, forward=0, muxPosition=5
> 3.572: GetConnectionFrom: Checking 38 connections... (pTo = 00383B30)
> 3.575: GetConnectionFrom: Returning 00383B20
> 3.578: GetConnectedPin: count=27, forward=0, muxPosition=5
> 3.580: GetConnectionFrom: Checking 38 connections... (pTo = 00383B20)
> 3.583: GetConnectionFrom: Returning 00383B10
> 3.586: GetConnectedPin: count=27, forward=0, muxPosition=5
> 3.592: GetConnectionFrom: Checking 38 connections... (pTo = 00383B10)
> 3.708: GetConnectionFrom: Returning 00383B00
> 3.711: GetConnectedPin: count=27, forward=0, muxPosition=5
> 3.713: GetConnectionFrom: Checking 38 connections... (pTo = 00383B00)
> 3.716: GetConnectionFrom: Returning 00383AF0
> 3.719: GetNameFromCategory: USB GUID 0605 -> 'S'
> 3.725: FindStartConnectionFrom: Checking 38 connections... 3.726:
> GetConnectedP
> in: count=27, forward=0, muxPosition=6
> 3.730: GetNumberOfConnectionsTo: Checking 38 connections... 3.731:
> GetConnectio
> nFrom: Checking 38 connections... (pTo = 00383B70)
> 3.736: GetConnectionFrom: Returning 00383B60
> 3.742: GetConnectionFrom: Checking 38 connections... (pTo = 00383B60)
> 3.856: GetConnectionFrom: Returning 00383B50
> 3.858: GetNameFromCategory: USB GUID 0601 -> 'A'
> 3.861: PinNew: Releasing topology filter...
> 3.864: Pin created successfully
> 3.866: PinNew: Creating pin 1:
> 3.869: PinNew: Not source/sink
> 3.872: PinNew: Error -9996
> 3.874: PinNew: Creating pin 2:
> 3.877: PinNew: Checking 4 no of dataranges...
> 3.880: PinNew: DR major format 73647561
> 3.882: PinNew: MaxChannel: 8
> 3.885: PinNew: Format PCM 16 bit supported
> 3.891: PinNew: 44.1kHz supported
> 4.006: PinNew: DR major format 73647561
> 4.009: PinNew: MaxChannel: 8
> 4.011: PinNew: Format PCM 16 bit supported
> 4.014: PinNew: DR major format 73647561
> 4.017: PinNew: MaxChannel: 8
> 4.019: PinNew: Format PCM 16 bit supported
> 4.026: PinNew: 48kHz supported
> 4.028: PinNew: DR major format 73647561
> 4.031: PinNew: MaxChannel: 8
> 4.034: PinNew: Format PCM 16 bit supported
> 4.036: PinNew: Finding topology pin...
> 4.043: FindStartConnectionTo: Checking 4 connections... 4.044:
> GetConnectedPin:
> count=2, forward=1, muxPosition=-1
> 4.053: GetConnectionTo: Checking 4 connections... (pFrom = 00367978)
> 4.053: Get
> ConnectionTo: Returning 00367988
> 4.062: PinNew: Getting physical connection...
> 4.065: PinNew: Physical connection found!
> 4.067: PinNew: Opening topology filter... 4.068: PinNew: Checking for
> output en
> dpoint pin id...
> 4.080: FindStartConnectionTo: Checking 38 connections... 4.080:
> GetConnectedPin
>
> : count=27, forward=1, muxPosition=-1
>
> 4.194: GetConnectionTo: Checking 38 connections... (pFrom = 00383920)
> 4.194: Ge
> tConnectionTo: Returning 00383A20
> 4.199: GetConnectedPin: count=27, forward=1, muxPosition=-1
> 4.202: GetConnectionTo: Checking 38 connections... (pFrom = 00383A20)
> 4.202: Ge
> tConnectionTo: Returning 00383A30
> 4.215: GetConnectedPin: count=27, forward=1, muxPosition=-1
> 4.219: GetConnectionTo: Checking 38 connections... (pFrom = 00383A30)
> 4.219: Ge
> tConnectionTo: Returning 00383A40
> 4.228: PinNew: Found endpoint pin id 7
> 4.231: GetNameFromCategory: USB GUID 0301 -> 'S'
> 4.233: PinNew: Pin name 'S'
> 4.236: PinNew: Releasing topology filter...
> 4.242: Pin created successfully
> 4.249: PinNew: Creating pin 3:
> 4.253: PinNew: Not source/sink
> 4.259: PinNew: Error -9996
> 4.262: Filter (WaveCyclic) created with 2 valid pins (total I/Os: 6)
> 4.377: Device 3 has render alias
> 4.381: Device 3 has capture alias
> 4.385: FilterNew: Creating filter 'T'
> 4.391: FilterNew: Opening filter...
> 4.394: DumpConnectionsAndNodes: connections=4, nodes=2
> 4.397: Connection: 0 - FromNode=4294967295,FromPin=1 ->
> ToNode=0,ToPin=1
> 4.399: Connection: 1 - FromNode=0,FromPin=0 ->
> ToNode=4294967295,ToPin=0
> 4.402: Connection: 2 - FromNode=4294967295,FromPin=4 ->
> ToNode=1,ToPin=1
> 4.413: Connection: 3 - FromNode=1,FromPin=0 ->
> ToNode=4294967295,ToPin=5
> 4.417: Node: 0 - {4D837FE0-C555-11D0-8A2B-00A0C9255AC1}
> 4.420: Node: 1 - {DFF21FE5-F70F-11D0-B917-00A0C9223196}
> 4.427: PinNew: Creating pin 0:
> 4.429: PinNew: Checking 2 no of dataranges...
> 4.432: PinNew: DR major format 73647561
> 4.435: PinNew: MaxChannel: 2
> 4.439: PinNew: Format PCM 16 bit supported
> 4.447: PinNew: 48kHz supported
> 4.451: PinNew: DR major format 73647561
> 4.458: PinNew: MaxChannel: 2
> 4.461: PinNew: Format PCM 16 bit supported
> 4.463: PinNew: Finding topology pin...
> 4.466: FindStartConnectionFrom: Checking 4 connections... 4.466:
> GetConnectedPi
> n: count=2, forward=0, muxPosition=-1
> 4.584: GetConnectionFrom: Checking 4 connections... (pTo = 003679B8)
> 4.591: GetConnectionFrom: Returning 003679A8
> 4.593: PinNew: Getting physical connection...
> 4.596: PinNew: Physical connection found!
> 4.598: PinNew: Creating topology filter '\'
> 4.601: FilterNew: Creating filter ''
> 4.606: FilterNew: Opening filter...
> 4.613: DumpConnectionsAndNodes: connections=9, nodes=7
> 4.618: Connection: 0 - FromNode=4294967295,FromPin=0 ->
> ToNode=0,ToPin=1
> 4.725: Connection: 1 - FromNode=0,FromPin=0 -> ToNode=1,ToPin=1
> 4.728: Connection: 2 - FromNode=1,FromPin=0 -> ToNode=2,ToPin=1
> 4.730: Connection: 3 - FromNode=4294967295,FromPin=3 ->
> ToNode=6,ToPin=1
> 4.733: Connection: 4 - FromNode=6,FromPin=0 ->
> ToNode=4294967295,ToPin=4
> 4.736: Connection: 5 - FromNode=2,FromPin=0 -> ToNode=3,ToPin=1
> 4.738: Connection: 6 - FromNode=3,FromPin=0 -> ToNode=4,ToPin=1
> 4.741: Connection: 7 - FromNode=4,FromPin=0 ->
> ToNode=4294967295,ToPin=1
> 4.744: Connection: 8 - FromNode=5,FromPin=0 ->
> ToNode=4294967295,ToPin=2
> 4.746: Node: 0 - {3A5ACC00-C557-11D0-8A2B-00A0C9255AC1}
> 4.749: Node: 1 - {02B223C0-C557-11D0-8A2B-00A0C9255AC1}
> 4.751: Node: 2 - {DA441A60-C556-11D0-8A2B-00A0C9255AC1}
> 4.758: Node: 3 - {3A5ACC00-C557-11D0-8A2B-00A0C9255AC1}
> 4.761: Node: 4 - {02B223C0-C557-11D0-8A2B-00A0C9255AC1}
> 4.878: Node: 5 - {2CEAF780-C556-11D0-8A2B-00A0C9255AC1}
> 4.881: Node: 6 - {02B223C0-C557-11D0-8A2B-00A0C9255AC1}
> 4.883: PinNew: Opening topology filter... 4.884: PinNew: Checking for
> input end
> point pin id (0)...
> 4.892: FindStartConnectionFrom: Checking 9 connections... 4.893:
> GetConnectedPi
> n: count=7, forward=0, muxPosition=0
> 4.898: GetNumberOfConnectionsTo: Checking 9 connections... 4.898:
> GetConnection
> From: Checking 9 connections... (pTo = 00315418)
> 4.904: GetConnectionFrom: Returning 00000000
> 4.911: PinNew: Done with inputs.
> 5.026: PinNew: Releasing topology filter...
> 5.028: Pin created successfully
> 5.031: PinNew: Creating pin 1:
> 5.033: PinNew: Not source/sink
> 5.036: PinNew: Error -9996
> 5.043: PinNew: Creating pin 2:
> 5.050: PinNew: Checking 4 no of dataranges...
> 5.052: PinNew: DR major format 73647561
> 5.059: PinNew: MaxChannel: 2
> 5.062: PinNew: Format PCM 16 bit supported
> 5.064: PinNew: 44.1kHz supported
> 5.067: PinNew: DR major format 73647561
> 5.069: PinNew: MaxChannel: 2
> 5.079: PinNew: Format PCM 16 bit supported
> 5.084: PinNew: DR major format 73647561
> 5.091: PinNew: MaxChannel: 2
> 5.093: PinNew: Format PCM 16 bit supported
> 5.096: PinNew: 48kHz supported
> 5.098: PinNew: DR major format 73647561
> 5.101: PinNew: MaxChannel: 2
> 5.105: PinNew: Format PCM 16 bit supported
> 5.112: PinNew: Finding topology pin...
> 5.118: FindStartConnectionTo: Checking 4 connections...


best regards
Oliver
Stefan Fendt
2012-02-15 07:27:30 UTC
Permalink
Hi Chris,

> Is there a way to make this happen automagically? This compilation is
> right out of the box with my usual settings.

You could probably try the CMake-Build? At least here (MSVC2010) it did
compile almost clean (despite moaning about some implicit casts and
other stuff like this). With CMake all the things usually happen
automagically...

cu
Stefan
Continue reading on narkive:
Loading...