wave: GetPosition patch

Robert Reif reif at earthlink.net
Sun Dec 19 18:57:57 CST 2004


A driver does not have to support all formats.
-------------- next part --------------
Index: dlls/winmm/winealsa/audio.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/winealsa/audio.c,v
retrieving revision 1.59
diff -u -r1.59 audio.c
--- dlls/winmm/winealsa/audio.c	6 Dec 2004 20:55:25 -0000	1.59
+++ dlls/winmm/winealsa/audio.c	20 Dec 2004 01:43:14 -0000
@@ -304,7 +304,7 @@
               lpTime->u.smpte.sec, lpTime->u.smpte.frame);
         break;
     default:
-        FIXME("Format %d not supported ! use TIME_BYTES !\n", lpTime->wType);
+        WARN("Format %d not supported, using TIME_BYTES !\n", lpTime->wType);
         lpTime->wType = TIME_BYTES;
         /* fall through */
     case TIME_BYTES:
Index: dlls/winmm/winearts/audio.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/winearts/audio.c,v
retrieving revision 1.25
diff -u -r1.25 audio.c
--- dlls/winmm/winearts/audio.c	6 Dec 2004 20:55:25 -0000	1.25
+++ dlls/winmm/winearts/audio.c	20 Dec 2004 01:43:16 -0000
@@ -258,7 +258,7 @@
               lpTime->u.smpte.sec, lpTime->u.smpte.frame);
         break;
     default:
-        FIXME("Format %d not supported ! use TIME_BYTES !\n", lpTime->wType);
+        WARN("Format %d not supported, using TIME_BYTES !\n", lpTime->wType);
         lpTime->wType = TIME_BYTES;
         /* fall through */
     case TIME_BYTES:
Index: dlls/winmm/wineaudioio/audio.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/wineaudioio/audio.c,v
retrieving revision 1.20
diff -u -r1.20 audio.c
--- dlls/winmm/wineaudioio/audio.c	6 Dec 2004 20:55:25 -0000	1.20
+++ dlls/winmm/wineaudioio/audio.c	20 Dec 2004 01:43:17 -0000
@@ -217,7 +217,7 @@
               lpTime->u.smpte.sec, lpTime->u.smpte.frame);
         break;
     default:
-        FIXME("Format %d not supported ! use TIME_BYTES !\n", lpTime->wType);
+        FIXME("Format %d not supported, using TIME_BYTES !\n", lpTime->wType);
         lpTime->wType = TIME_BYTES;
         /* fall through */
     case TIME_BYTES:
Index: dlls/winmm/winejack/audio.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/winejack/audio.c,v
retrieving revision 1.19
diff -u -r1.19 audio.c
--- dlls/winmm/winejack/audio.c	8 Dec 2004 13:44:41 -0000	1.19
+++ dlls/winmm/winejack/audio.c	20 Dec 2004 01:43:19 -0000
@@ -253,7 +253,7 @@
               lpTime->u.smpte.sec, lpTime->u.smpte.frame);
         break;
     default:
-        FIXME("Format %d not supported ! use TIME_BYTES !\n", lpTime->wType);
+        WARN("Format %d not supported, using TIME_BYTES !\n", lpTime->wType);
         lpTime->wType = TIME_BYTES;
         /* fall through */
     case TIME_BYTES:
Index: dlls/winmm/winenas/audio.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/winenas/audio.c,v
retrieving revision 1.19
diff -u -r1.19 audio.c
--- dlls/winmm/winenas/audio.c	6 Dec 2004 20:55:25 -0000	1.19
+++ dlls/winmm/winenas/audio.c	20 Dec 2004 01:43:20 -0000
@@ -315,7 +315,7 @@
               lpTime->u.smpte.sec, lpTime->u.smpte.frame);
         break;
     default:
-        FIXME("Format %d not supported ! use TIME_BYTES !\n", lpTime->wType);
+        WARN("Format %d not supported, using TIME_BYTES !\n", lpTime->wType);
         lpTime->wType = TIME_BYTES;
         /* fall through */
     case TIME_BYTES:
Index: dlls/winmm/wineoss/audio.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/wineoss/audio.c,v
retrieving revision 1.150
diff -u -r1.150 audio.c
--- dlls/winmm/wineoss/audio.c	6 Dec 2004 20:55:25 -0000	1.150
+++ dlls/winmm/wineoss/audio.c	20 Dec 2004 01:43:22 -0000
@@ -236,7 +236,7 @@
               lpTime->u.smpte.sec, lpTime->u.smpte.frame);
         break;
     default:
-        FIXME("Format %d not supported ! use TIME_BYTES !\n", lpTime->wType);
+        WARN("Format %d not supported, using TIME_BYTES !\n", lpTime->wType);
         lpTime->wType = TIME_BYTES;
         /* fall through */
     case TIME_BYTES:


More information about the wine-patches mailing list