#! /bin/sh /usr/share/dpatch/dpatch-run ## 12_pulseaudio_compatibility.dpatch by Ilya Barygin ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Use 'default' as the standard ALSA virtual ## DP: device to work both with and without PulseAudio (Ubuntu and ## DP: Kubuntu/Xubuntu, respectively). @DPATCH@ diff -urNad recordmydesktop-0.3.8.1+svn602~/src/rmd_types.h recordmydesktop-0.3.8.1+svn602/src/rmd_types.h --- recordmydesktop-0.3.8.1+svn602~/src/rmd_types.h 2010-02-08 21:47:22.000000000 +0300 +++ recordmydesktop-0.3.8.1+svn602/src/rmd_types.h 2010-02-10 19:24:05.000000000 +0300 @@ -39,7 +39,7 @@ #ifdef HAVE_LIBASOUND #include - #define DEFAULT_AUDIO_DEVICE "hw:0,0" + #define DEFAULT_AUDIO_DEVICE "default" #else #include #include