[xiph-commits] r16831 - trunk/ao/src
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Tue Jan 26 23:25:29 PST 2010
Author: xiphmont
Date: 2010-01-26 23:25:29 -0800 (Tue, 26 Jan 2010)
New Revision: 16831
Modified:
trunk/ao/src/ao_aixs.c
trunk/ao/src/ao_au.c
trunk/ao/src/ao_raw.c
trunk/ao/src/ao_wav.c
trunk/ao/src/ao_wmm.c
Log:
add new option declarations to built-in drivers.
Modified: trunk/ao/src/ao_aixs.c
===================================================================
--- trunk/ao/src/ao_aixs.c 2010-01-27 06:51:21 UTC (rev 16830)
+++ trunk/ao/src/ao_aixs.c 2010-01-27 07:25:29 UTC (rev 16831)
@@ -52,7 +52,7 @@
#endif
-static char *ao_aixs_options[] = {"dev"};
+static char *ao_aixs_options[] = {"dev","matrix","verbose","quiet"};
ao_info ao_aixs_info = {
AO_TYPE_LIVE,
"AIX audio driver output",
@@ -62,7 +62,7 @@
AO_FMT_NATIVE,
20,
ao_aixs_options,
- 1
+ 4
};
Modified: trunk/ao/src/ao_au.c
===================================================================
--- trunk/ao/src/ao_au.c 2010-01-27 06:51:21 UTC (rev 16830)
+++ trunk/ao/src/ao_au.c 2010-01-27 07:25:29 UTC (rev 16831)
@@ -68,6 +68,7 @@
char info[4]; /* optional text information */
} Audio_filehdr;
+static char *ao_au_options[] = {"matrix","verbose","quiet"};
static ao_info ao_au_info =
{
AO_TYPE_FILE,
@@ -77,8 +78,8 @@
"Sends output to a .au file",
AO_FMT_BIG,
0,
- NULL, /* No options */
- 0
+ ao_au_options,
+ 3
};
typedef struct ao_au_internal
Modified: trunk/ao/src/ao_raw.c
===================================================================
--- trunk/ao/src/ao_raw.c 2010-01-27 06:51:21 UTC (rev 16830)
+++ trunk/ao/src/ao_raw.c 2010-01-27 07:25:29 UTC (rev 16831)
@@ -33,7 +33,7 @@
#include <ao/ao.h>
#include <ao/plugin.h>
-static char *ao_raw_options[] = {"byteorder"};
+static char *ao_raw_options[] = {"byteorder","matrix","verbose","quiet"};
static ao_info ao_raw_info =
{
AO_TYPE_FILE,
@@ -44,7 +44,7 @@
AO_FMT_NATIVE,
0,
ao_raw_options,
- 1
+ 4
};
typedef struct ao_raw_internal
Modified: trunk/ao/src/ao_wav.c
===================================================================
--- trunk/ao/src/ao_wav.c 2010-01-27 06:51:21 UTC (rev 16830)
+++ trunk/ao/src/ao_wav.c 2010-01-27 07:25:29 UTC (rev 16831)
@@ -90,6 +90,7 @@
};
+static char *ao_wav_options[] = {"matrix","verbose","quiet"};
static ao_info ao_wav_info =
{
AO_TYPE_FILE,
@@ -99,8 +100,8 @@
"Sends output to a .wav file",
AO_FMT_LITTLE,
0,
- NULL, /* No options */
- 0
+ ao_wav_options,
+ 3
};
typedef struct ao_wav_internal
Modified: trunk/ao/src/ao_wmm.c
===================================================================
--- trunk/ao/src/ao_wmm.c 2010-01-27 06:51:21 UTC (rev 16830)
+++ trunk/ao/src/ao_wmm.c 2010-01-27 07:25:29 UTC (rev 16831)
@@ -72,7 +72,7 @@
return mmbuffer;
}
-static char * ao_wmm_options[] = {"debug", "dev","id"};
+static char * ao_wmm_options[] = {"debug", "dev", "id", "matrix","verbose","quiet"};
static ao_info ao_wmm_info =
{
/* type */ AO_TYPE_LIVE,
More information about the commits
mailing list