Mercurial > mplayer.hg
view libdha/sysdep/pci_win32.c @ 11376:70b1673fe399
proper fix for 'some chipsets can't handle buffers > 128kB', vo_zr used
to ignore information about the _actual_ buffer size returned by the
kernel and continued to use the requested buffer size (the old fix was
to request smaller buffers, but not ignoring information about the
actual buffer size is way better)
author | rik |
---|---|
date | Mon, 03 Nov 2003 17:38:50 +0000 |
parents | 4cfb6b9a6da3 |
children | 3a727f52c4a2 |
line wrap: on
line source
/* This file is based on: $XFree86: xc/programs/Xserver/hw/xfree86/etc/scanpci.c,v 3.34.2.17 1998/11/10 11:55:40 dawes Exp $ Modified for readability by Nick Kurshev */ #include <windows.h> /* Nothing to do for Win9x. For WinNT I have no solution */ static __inline__ int enable_os_io(void) { return(0); } static __inline__ int disable_os_io(void) { return(0); }