diff -ur avidemux/ADM_audiodevice/ADM_deviceALSA.cpp.org avidemux/ADM_audiodevice/ADM_deviceALSA.cpp --- avidemux/ADM_audiodevice/ADM_deviceALSA.cpp.org 2003-09-16 12:57:53.000000000 -0500 +++ avidemux/ADM_audiodevice/ADM_deviceALSA.cpp 2004-01-21 23:10:09.382307080 -0600 @@ -37,7 +37,11 @@ #include "ADM_audiodevice/ADM_deviceoss.h" #include "ADM_audiodevice/ADM_deviceALSA.h" - +#include +#if SND_LIB_MAJOR==1 +#define ALSA_PCM_OLD_HW_PARAMS_API +#define ALSA_PCM_NEW_HW_PARAMS_API +#endif #include /* Handle for the PCM device */ snd_pcm_t *pcm_handle;