ks.h headers for WAVEFORMATEXTENSIBLE support

Robert Reif reif at earthlink.net
Sun Aug 15 14:58:39 CDT 2004


Adds enough of ks.h, ksguid.h and ksmedia.h to start adding support for 
WAVEFORMATEXTENSIBLE.
-------------- next part --------------
diff -u -N wine.cvs/include/ksguid.h wine/include/ksguid.h
--- wine.cvs/include/ksguid.h	1969-12-31 19:00:00.000000000 -0500
+++ wine/include/ksguid.h	2004-08-15 15:46:03.000000000 -0400
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2004 Robert Reif
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#define INITGUID
+#include <guiddef.h>
+
+/* FIXME dummy placeholder for now */
diff -u -N wine.cvs/include/ks.h wine/include/ks.h
--- wine.cvs/include/ks.h	1969-12-31 19:00:00.000000000 -0500
+++ wine/include/ks.h	2004-08-15 15:46:19.000000000 -0400
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2004 Robert Reif
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#if !defined(_KS_)
+#define _KS_
+
+/* FIXME dummy placeholder for now */
+
+#endif
diff -u -N wine.cvs/include/ksmedia.h wine/include/ksmedia.h
--- wine.cvs/include/ksmedia.h	1969-12-31 19:00:00.000000000 -0500
+++ wine/include/ksmedia.h	2004-08-15 15:45:52.000000000 -0400
@@ -0,0 +1,29 @@
+/*
+ * Copyright (C) 2004 Robert Reif
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#if !defined(_KS_)
+#error must include ks.h before ksmedia.h
+#endif
+                                                                                         
+#if !defined(_KSMEDIA_)
+#define _KSMEDIA_
+
+/* FIXME just enough to get WAVEFORMATEXTENSIBLE working */
+DEFINE_GUID(KSDATAFORMAT_SUBTYPE_PCM, 0x00000001, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
+
+#endif


More information about the wine-patches mailing list