tags 517853 + patch thanks Aoops sorry it's even worse than that: sox doesn't recognize ossdsp any more. The attached patch makes saytime use the alsa driver instead.
Samuel
Seulement dans saytime-1.0: build-stamp Seulement dans saytime-1.0/debian: files diff -ur saytime-1.0.orig/debian/local/saytime.1 saytime-1.0/debian/local/saytime.1 --- saytime-1.0.orig/debian/local/saytime.1 2009-03-03 23:42:11.000000000 +0100 +++ saytime-1.0/debian/local/saytime.1 2009-03-03 23:51:03.000000000 +0100 @@ -43,7 +43,7 @@ Display simple help. .TP .BI "\-o" " dev" -Output to alternate file (default /dev/audio). +Output to alternate ALSA device. .SH FORMAT STRING A format string can be specified to control the time message. Valid format characters are: Seulement dans saytime-1.0/debian: saytime Seulement dans saytime-1.0/debian: saytime.substvars Seulement dans saytime-1.0/debian: sounds Seulement dans saytime-1.0: saytime diff -ur saytime-1.0.orig/saytime.c saytime-1.0/saytime.c --- saytime-1.0.orig/saytime.c 2009-03-03 23:50:00.000000000 +0100 +++ saytime-1.0/saytime.c 2009-03-03 23:48:09.000000000 +0100 @@ -29,7 +29,7 @@ #include <sys/wait.h> #include <signal.h> -#define DEFAULT_SOUND_DEVICE "default" +#define DEFAULT_SOUND_DEVICE "/dev/audio" #define DEFAULT_SOUND_DIR "/usr/share/saytime" #define DEFAULT_TIME_FORMAT "%P%l%M%S" #define DEFAULT_INTERVAL 1 @@ -687,7 +687,7 @@ else { execl("/usr/bin/sox", "sox", "-r", RATE, "-q", "-v", opt_volume,"-t.ul", "-c", "1", - pathname, "-t", "alsa", opt_sound_device, NULL); + pathname, "-t", "ossdsp", opt_sound_device, NULL); } fprintf(stderr, "execl failed\n"); exit(1); Seulement dans saytime-1.0.orig: saytime.c.orig