Mercurial > mplayer.hg
view libdha/sysdep/AsmMacros_ia64.h @ 11511:6e580b901205
original config:
> ao_data.bps=channels*rate;
> if(format != AFMT_U8 && format != AFMT_S8)
> ao_data.bps*=2;
fallback config, before patch:
> ao_data.bps=ao_data.channels * ao_data.samplerate;
since we forced the format to S16_LE in fallback, we should double bps
to be consistent with an original config of the same settings.
author | joey |
---|---|
date | Sun, 23 Nov 2003 17:04:19 +0000 |
parents | 2e3262002acb |
children |
line wrap: on
line source
/* This file is based on: $XFree86: xc/programs/Xserver/hw/xfree86/drivers/chips/util/AsmMacros.h,v 1.1 2001/11/16 21:13:34 tsi Exp $ Modified for readability by Nick Kurshev */ #ifndef __ASM_MACROS_IA64_H #define __ASM_MACROS_IA64_H #if defined(linux) #include <sys/io.h> #else #error This stuff is not ported on your system #endif #endif