Hi Michael,

That's brilliant. Yes, me and Albert have discussed MSVC support with the
author of libsndfile and he wasn't keen. I then spent an hour or so trying
to do it myself, got stuck on some wierd struct definition in the ogg code
where I agreed with the compiler that it didn't make any sense and gave up.

We should talk to him about getting some of this stuff pushed upstream. Even
if he doesn't want to maintain an msvc version, maybe we can push everything
but a few controversial things into trunk and then maintain them ourselves
out of tree. I'm willing to bet we aren't the only project who wants this.
Although as we've learned, not so many people are building with msvc for
windows in the open source world.

Albert will be very happy about this too.

Adam

2008/8/24 Michael Pujos <[EMAIL PROTECTED]>

> Hi
>
>
> I adapted libsndfile to compile with Visual Studio. As you know, its
> author is not very windoze friendly, but had the good idea
> to rant about what's missing from MS compiler for libsndfile to work:
> http://www.mega-nerd.com/erikd/Blog/Windiots/index.html.
> naturally  I discovered  this link after having the job done :)
>
> Here's a ZIP  containing an updated sndfile.dll / sndfile.h /
> sndfile.lib  (based on libsndfile-1.0.18pre22 / flac 1.2.1) to drop in
> directory mixxx-winlib:
>
> http://bubbleguuum.free.fr/sndfile-win32-with-flac-for-mixxx.zip
>
> A recompile of mixxx is necessary, you cannot just drop the DLL into an
> existing mixxx 1.6.0 install (it crashes when loading the audio data).
> This DLL compiled with MSVC might be buggy, it worked fine to scan my
> library of a few hundred FLACs but you never know. Le me know if there
> are problems.
>
> I'll make availbale the modified libsndfile after I've done some clean-up.
>
> I also noticed what's probably a memory corruption (not related to the
> above),  running a mixxx compiled debug under windows:
>
> - Select a file in the library and show it's context menu (right click)
> - Do the same on any other file. The debug heap checker trigger a failed
> assertion somewhere in the destructors of QList invoqued from mixxx
> source line:
>
> WTrackTableView::contextMenuEvent(QContextMenuEvent * event) {
> ...
>  m_selectedIndices = this->selectionModel()->selectedRows();
> ...
> }
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Mixxx-devel mailing list
> Mixxx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mixxx-devel
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to