Update of /cvsroot/alsa/alsa-lib/alsalisp
In directory sc8-pr-cvs1:/tmp/cvs-serv27536
Modified Files:
alsalisp.c
Log Message:
Fix against current code
Index: alsalisp.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/alsalisp/alsalisp.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- alsalisp.c 27 Jul 2003 20:20:26 -0000 1.3
+++ alsalisp.c 28 Jul 2003 12:03:41 -0000 1.4
@@ -37,7 +37,6 @@
struct alisp_cfg cfg;
snd_input_t *in;
snd_output_t *out;
- snd_config_t *root;
int err;
memset(&cfg, 0, sizeof(cfg));
@@ -57,27 +56,18 @@
fprintf(stderr, "unable to attach stdout (%s)\n", strerror(errno));
return;
}
- err = snd_config_top(&root);
- if (err < 0)
- fprintf(stderr, "unable to allocate config root\n");
- else {
- cfg.verbose = verbose;
- cfg.warning = warning;
- cfg.debug = debug;
- cfg.in = in;
- cfg.out = cfg.eout = cfg.vout = cfg.wout = cfg.dout = out;
- cfg.root = root;
- cfg.node = root;
- err = alsa_lisp(&cfg, NULL);
- }
+ cfg.verbose = verbose;
+ cfg.warning = warning;
+ cfg.debug = debug;
+ cfg.in = in;
+ cfg.out = cfg.eout = cfg.vout = cfg.wout = cfg.dout = out;
+ err = alsa_lisp(&cfg, NULL);
if (err < 0)
fprintf(stderr, "alsa lisp returned error %i (%s)\n", err,
strerror(err));
else if (verbose)
printf("file %s passed ok via alsa lisp interpreter\n", file);
- snd_config_save(root, out);
snd_output_close(out);
snd_input_close(in);
- snd_config_delete(root);
}
static void usage(void)
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog