Mercurial > mplayer.hg
diff dec_audio.c @ 1517:0e9c29538a86
Use USE_WIN32DLL define instead of ARCH_X86 to decide whether or not to compile
Win32 DLL code into mplayer. Default for USE_WIN32DLL is enabled on x86
machines, disabled otherwise.
Use of Win32 DLLs can be disabled on x86 using the --disable-win32 configure
option.
author | jkeil |
---|---|
date | Tue, 14 Aug 2001 18:28:56 +0000 |
parents | b895f95e7657 |
children | a444bd456fcc |
line wrap: on
line diff
--- a/dec_audio.c Tue Aug 14 17:10:22 2001 +0000 +++ b/dec_audio.c Tue Aug 14 18:28:56 2001 +0000 @@ -78,8 +78,8 @@ switch(driver){ case AFM_ACM: -#ifndef ARCH_X86 - printf("Win32/ACM audio codec unavailable on non-x86 CPU -> force nosound :(\n"); +#ifndef USE_WIN32DLL + printf("Win32/ACM audio codec disabled, or unavailable on non-x86 CPU -> force nosound :(\n"); driver=0; #else // Win32 ACM audio codec: @@ -157,7 +157,7 @@ sh_audio->a_buffer_len=0; switch(driver){ -#ifdef ARCH_X86 +#ifdef USE_WIN32DLL case AFM_ACM: { int ret=acm_decode_audio(sh_audio,sh_audio->a_buffer,4096,sh_audio->a_buffer_size); if(ret<0){ @@ -332,7 +332,7 @@ } //printf("{3:%d}",avi_header.idx_pos);fflush(stdout); break; -#ifdef ARCH_X86 +#ifdef USE_WIN32DLL case AFM_ACM: // len=sh_audio->audio_out_minsize; // optimal decoded fragment size // if(len<minlen) len=minlen; else