[Liboss-commit] CVS: liboss/src osscat.c,1.2,1.3
Brought to you by:
thesin
|
From: Alexander S. <mrv...@us...> - 2002-10-18 22:46:52
|
Update of /cvsroot/liboss/liboss/src
In directory usw-pr-cvs1:/tmp/cvs-serv18094/src
Modified Files:
osscat.c
Log Message:
osscat almost works now. It calls write(), and esddsp doesn't override write(). We may need to implement this
Index: osscat.c
===================================================================
RCS file: /cvsroot/liboss/liboss/src/osscat.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- osscat.c 18 Oct 2002 22:00:27 -0000 1.2
+++ osscat.c 18 Oct 2002 22:46:49 -0000 1.3
@@ -6,7 +6,7 @@
/* FIXME: Add capability for recording with 'libosscat /dev/audio > somefile' */
#define BUF_SIZE 1024
-#define DEVICE "/dev/dspW"
+#define DEVICE "/dev/dsp"
int main(int argc, char **argv)
{
@@ -14,7 +14,7 @@
char buf[BUF_SIZE];
if (argc != 2) {
- fprintf(stderr, "Usage: libosscat file\n");
+ fprintf(stderr, "Usage: osscat file\n");
exit(1);
}
|