IPB

Welcome Guest ( Log In | Register )

wavpackdll.lib - any static version?
TJFO
post Jul 16 2010, 11:03
Post #1





Group: Members
Posts: 11
Joined: 29-January 09
From: Starnberg - DE
Member No.: 66373



Hi,

I've integrated wavpackdll.lib in my player-code. Works fine! But is there a static-lib-version...?

Thanks a lot!
Regards
Thomas
Go to the top of the page
+Quote Post
 
Start new topic
Replies
bryant
post Jul 22 2010, 04:24
Post #2


WavPack Developer


Group: Developer (Donating)
Posts: 1287
Joined: 3-January 02
From: San Francisco CA
Member No.: 900



Hi Thomas,

Well, I assume that by "loaded" you mean opened with WavpackOpenFileInput(). In this case, no, none of the file is decoded. The decoding only happens when you call WavpackUnpackSamples(), and then it only decodes the samples you ask for. If you seek to another location the same thing happens and the decoding starts at the new location (except that decoding must start on a WavPack block and so a few extra fractions of a second might be decoded prior to the samples you ask for).

Thanks for the offer of the static library, but as long as I know how to make one myself if I need it, then I'll be happy. I have not tried it, but I assume it was pretty easy in Visual Studio?

Regards,
David
Go to the top of the page
+Quote Post
TJFO
post Jul 22 2010, 08:29
Post #3





Group: Members
Posts: 11
Joined: 29-January 09
From: Starnberg - DE
Member No.: 66373



Hi David,

thank you!

Pretty easy: I opened src\libwavpack.vcproj in MSVC and did this (I see it in german language, may be there are other expressions in engl.):

For libwavpack (attributes):

- Activ(Debug): C/C++ -> Codegeneration -> Multithreaded-Debug(MTd)

- Release: the same (...)

- Release: Common -> use MFC in a static b.

Regards
Thomas



Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd April 2014 - 12:15