ref: 474a967478522a31d6ad690752ae4c9ecc5bce0d
parent: c62be7fdddd0ab8c2338b8a8ce935d199dd8f4a4
author: Doug Cook <idigdoug@users.sourceforge.net>
date: Sun Mar 20 21:34:29 EDT 2011
Fix use of UNUSED in example1.c
--- a/src/example1.c
+++ b/src/example1.c
@@ -55,8 +55,8 @@
* In this example, we store the samples in a SoX-opened audio file.
* In a different application, they might perhaps be analysed in some way,
* or displayed as a wave-form */
-static int output_flow(sox_effect_t *effp UNUSED, sox_sample_t const * ibuf,
- sox_sample_t * obuf UNUSED, size_t * isamp, size_t * osamp)
+static int output_flow(sox_effect_t *effp LSX_UNUSED, sox_sample_t const * ibuf,
+ sox_sample_t * obuf LSX_UNUSED, size_t * isamp, size_t * osamp)
{
/* Write out *isamp samples */
size_t len = sox_write(out, ibuf, *isamp);