diff options
Diffstat (limited to 'recordmydesktop/src')
-rw-r--r-- | recordmydesktop/src/rmd_macro.h | 6 | ||||
-rw-r--r-- | recordmydesktop/src/rmd_parseargs.c | 4 | ||||
-rw-r--r-- | recordmydesktop/src/rmd_types.h | 4 |
3 files changed, 6 insertions, 8 deletions
diff --git a/recordmydesktop/src/rmd_macro.h b/recordmydesktop/src/rmd_macro.h index 78e6102..9b54d80 100644 --- a/recordmydesktop/src/rmd_macro.h +++ b/recordmydesktop/src/rmd_macro.h @@ -84,12 +84,6 @@ #define Y_UNIT_WIDTH 0x0010 #define UV_UNIT_WIDTH 0x0008 -#ifdef HAVE_LIBASOUND - #define DEFAULT_AUDIO_DEVICE "hw:0,0" -#else - #define DEFAULT_AUDIO_DEVICE "/dev/dsp" -#endif - #define I16TOA(number,buffer){\ int t_num=(number),__k=0,__i=0;\ char *t_buf=malloc(8);\ diff --git a/recordmydesktop/src/rmd_parseargs.c b/recordmydesktop/src/rmd_parseargs.c index ab1f4f7..dcb2475 100644 --- a/recordmydesktop/src/rmd_parseargs.c +++ b/recordmydesktop/src/rmd_parseargs.c @@ -26,9 +26,9 @@ #include "config.h" -#include "rmd_types.h" +#include <stdio.h> -#include "rmd_macro.h" +#include "rmd_types.h" static void PrintConfig(void) { diff --git a/recordmydesktop/src/rmd_types.h b/recordmydesktop/src/rmd_types.h index c93b8b7..145f419 100644 --- a/recordmydesktop/src/rmd_types.h +++ b/recordmydesktop/src/rmd_types.h @@ -37,9 +37,13 @@ #ifdef HAVE_LIBASOUND #include <alsa/asoundlib.h> + + #define DEFAULT_AUDIO_DEVICE "hw:0,0" #else #include <sys/ioctl.h> #include <sys/soundcard.h> + + #define DEFAULT_AUDIO_DEVICE "/dev/dsp" #endif #ifdef HAVE_JACK_H |