[gstreamer-bugs] [Bug 593068] Disarray in directsoundsrc/directdrawsink

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Aug 25 21:49:46 PDT 2009


http://bugzilla.gnome.org/show_bug.cgi?id=593068



--- Comment #4 from LRN <lrn1986 at gmail.com> 2009-08-26 04:49:43 UTC ---
(In reply to comment #1)

> According to your patch, I think this is directsoundsrc.c and not
> directdrawsink.c
> ?
Yep, mistyped.

> 
> And yes there is no "dsound.h" and "ddraw.h" in the official mingw-win32-api
> package (see comment #22) http://bugzilla.gnome.org/show_bug.cgi?id=344129)
Yep, that is why DX SDK is used.

> But there is a libddraw.a in the official mingw-win32-api package (Yes it's
> weird).
Yep, because headers are all the same, but an .a library is needed to link with
MinGWis programs. So they do supply .a library, but not headers.

> 
> For a later improvement, about directdrawsink/Mafile.am, as it exists always
> libddraw.a, maybe it can be used with the ddraw.h file in DXSDK_DIR (this var
> is set when installing the microsoft directx SDK). I am not sure if this
> libddraw.a is compatible with the ddraw.h header in DXSDK_DIR,
> can you check that ?
I'm using dsound.h and ddraw.h from DX SDK exclusively.
/mingw/lib/libddraw.a is compatible with ddraw.h
H-m-m, didn't know about DXSDK_DIR variable. Although in my case it points to
an old DX SDK from August 2007, while i'm using the one from November 2008, so
it's not that useful. And i have to obtain a shortname anyway (GCC is supposed
to accept long names in double quotes, but when MSys and CFLAGS are thrown into
a mix something just doesn't work there).

> About directsoundsrc and directsoundsink the following bug has to be
> considered:
> http://bugzilla.gnome.org/show_bug.cgi?id=584980
My goal is to make things buildable at a given moment. If some of my changes
are not compatible with upcoming improvements, they can be revised/reversed.

-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list