diff options
author | Martin Holzer <mholzer@gentoo.org> | 2004-02-01 01:29:30 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2004-02-01 01:29:30 +0000 |
commit | e5d3211c889ff6d4513e21579341c938b617c998 (patch) | |
tree | b25a9567b85bd6f39aadd999d8e38e75c6d9e643 /media-video/avidemux/files | |
parent | adding filter. Closes 39980. (Manifest recommit) (diff) | |
download | gentoo-2-e5d3211c889ff6d4513e21579341c938b617c998.tar.gz gentoo-2-e5d3211c889ff6d4513e21579341c938b617c998.tar.bz2 gentoo-2-e5d3211c889ff6d4513e21579341c938b617c998.zip |
adding alsa.patch Closes 38982
Diffstat (limited to 'media-video/avidemux/files')
-rw-r--r-- | media-video/avidemux/files/alsa.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/media-video/avidemux/files/alsa.patch b/media-video/avidemux/files/alsa.patch new file mode 100644 index 000000000000..49d2625a42d3 --- /dev/null +++ b/media-video/avidemux/files/alsa.patch @@ -0,0 +1,16 @@ +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 <alsa/version.h> ++#if SND_LIB_MAJOR==1 ++#define ALSA_PCM_OLD_HW_PARAMS_API ++#define ALSA_PCM_NEW_HW_PARAMS_API ++#endif + #include <alsa/asoundlib.h> + /* Handle for the PCM device */ + snd_pcm_t *pcm_handle; |