Re: Creating adec component on Windows: Can't find CAWin32StringResources.h
Re: Creating adec component on Windows: Can't find CAWin32StringResources.h
- Subject: Re: Creating adec component on Windows: Can't find CAWin32StringResources.h
- From: "Arek Korbik" <email@hidden>
- Date: Fri, 26 Jan 2007 02:23:13 +0100
Ayush,
On 1/24/07, ayush ghai <email@hidden> wrote:
I am trying to compile the example IMA4 adec component on Windows
Platform. I have included CoreAudio API in my Visual Studio Project.
But the project does not compile since a couple of files in CoreAudio
API include the file CAWin32StringResources.h which can't be found
anywhere. So it igives me a file not found error.
Can anyone please tell me what to do about it? I have looked into the
xiph-qt project as well but even that does not compile due to the same
problem.
I'm not sure if IMA4 example is ported to Windows and if it should
compile, but (surprisingly!) you're right about the:
'#include "CAWin32StringResources.h"' statement - I can see it in the
SDK version on my disk as well. What's interesting - the XiphQT source
code contains some of the AudioCodec C++ API files (a snapshot from
about September/November 2005), including GetCodecBundle.cpp,
but the version included in XiphQT _does not_ contain such 'include'
statements. Other than that, the files differ only slightly. Just wondering
which version is more recent and "proper"?
You should be able to compile XiphQT 0.1.5 source tarball (or SVN
revision r11382) with QuickTime 7 Windows SDK. It seems that 7.1
SDK defines now AudioStreamPacketDescription - so it may give you
some 'redefinition' errors. More recent revisions haven't been ported
to win32 yet.
Other than that, Windows versions of QuickTime SDK appear to be
missing the property and return code constant and selector
definitions for AudioCodec functionality (be it C++ or not), which on
OS X can be found in AudioCodec.h from the AudioUnit framework.
Hence the need for a fake AudioCodec.h (
http://svn.xiph.org/trunk/xiph-qt/build-win32/AudioCodec.h ) in
XiphQT. I believe something like that would be necessary to compile
the example IMA4, too. Perhaps, that's a bug-report material?
Regards and hope that helps,
Arek
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden