Displaying 5 results from an estimated 5 matches for "ao_append_opt".
2000 Dec 17
1
Re: libao api change
> Does anyone object to the attached patches? The main change is to be able
> to call
>
> ao_append_option(&opts, "key", "value");
>
I'm all for this one. The original form of the function is really poor design
on my part. I hope this gets committed.
---
Stan Seibert
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xip...
2009 Oct 06
0
[ao] Two patches for libao2
...correctly [CORRECTIVE]
>
> ---
> src/audio_out.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/src/audio_out.c b/src/audio_out.c
> index 88660c0..6e39047 100644
> --- a/src/audio_out.c
> +++ b/src/audio_out.c
> @@ -613,6 +613,7 @@ int ao_append_option(ao_option **options, const char *key, const char *value)
>
> op->key = strdup(key);
> op->value = strdup(value);
> + if (op->key == NULL || op->value == NULL) return 0;
> op->next = NULL;
>
> if ((list = *options) != NULL) {
> --
> 1.6.1.2
&...
2001 Aug 21
2
ao changes
Why has ao been changed so that there are now two open() functions ?
IMHO the original ao_open() was fine - if you wanted to set the
filename for output, you could add an option via ao_append_option
and if you wanted to avoid overwriting an existing file, you could
stat() it yourself.
Having ao_open_live() and ao_open_file() just makes more work for
the user of the library for no gain, AFAICT.
Rik
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://w...
2001 Aug 21
2
ao changes
Why has ao been changed so that there are now two open() functions ?
IMHO the original ao_open() was fine - if you wanted to set the
filename for output, you could add an option via ao_append_option
and if you wanted to avoid overwriting an existing file, you could
stat() it yourself.
Having ao_open_live() and ao_open_file() just makes more work for
the user of the library for no gain, AFAICT.
Rik
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://w...
2000 Sep 05
1
[kcarnold@xiph.org: [xiph-cvs] cvs commit: vorbis/vorbis-tools/libao ao_alsa.c ao_oss.c audio_out.c audio_out.h]
...=============================================
RCS file: /usr/local/cvsroot/vorbis/vorbis-tools/libao/audio_out.h,v
retrieving revision 1.1
retrieving revision 1.1.4.1
diff -u -r1.1 -r1.1.4.1
--- audio_out.h 2000/07/22 01:57:05 1.1
+++ audio_out.h 2000/09/05 21:38:48 1.1.4.1
@@ -105,3 +105,5 @@
int ao_append_option (ao_option_t **options, const char* op_str);
void ao_free_options (ao_option_t* options);
+
+int ao_is_big_endian();
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request@x...