Mercurial > mplayer.hg
view loader/wine/elfdll.h @ 25195:1aec672af2d2
Fix ao_null with float samples
ao_null accepts float input, but the code calculating ao_data.bps only
checked for 1-byte formats and used samplesize 2 for everything else.
Because ao_null uses the bps value in its timing calculations this
effectively made "playback" advance at half the correct speed.
Fixed by calculating samplesize with af_fmt2bits() instead.
author | uau |
---|---|
date | Sat, 01 Dec 2007 05:17:08 +0000 |
parents | c98c9e7f3bd0 |
children | a8ea87c71d18 |
line wrap: on
line source
#ifndef WINE_ELFDLL_H #define WINE_ELFDLL_H #include "module.h" #include "windef.h" WINE_MODREF *ELFDLL_LoadLibraryExA(LPCSTR libname, DWORD flags); HINSTANCE16 ELFDLL_LoadModule16(LPCSTR libname); void ELFDLL_UnloadLibrary(WINE_MODREF *wm); void *ELFDLL_dlopen(const char *libname, int flags); extern char *extra_ld_library_path; #endif /* WINE_ELFDLL_H */