search for: ao_option_t

Displaying 6 results from an estimated 6 matches for "ao_option_t".

Did you mean: ao_option
2000 Aug 12
1
libao patch: Minor clean up / Byte-order proposal
...--- Driver Functions --- */ /* This should have been set by the Makefile */ @@ -169,7 +165,6 @@ ao_functions_t *funcs; ao_internal_t *state; ao_device_t *device; - int dev_id; if (ao_check_driver_id(driver_id)) { @@ -209,37 +204,28 @@ char *copy; char *value_ptr; char *colon; - ao_option_t *op; - int fail = 0; - - copy = strdup(op_str); - - colon = strchr(copy, ':'); - if (colon == NULL) - fail = 1; - else - { - value_ptr = colon + 1; - *colon = 0x00; // Null terminate the key part - - // Allocate the option structure - op = malloc(sizeof(ao_option_t)); - if (op == NU...
2001 Mar 10
0
patch to add device-option to ogg123 rc file
...rbis-tools-1.0beta4-modified/ogg123/ao_interface.c --- vorbis-tools-1.0beta4/ogg123/ao_interface.c Fri Feb 23 17:39:19 2001 +++ vorbis-tools-1.0beta4-modified/ogg123/ao_interface.c Sat Mar 10 03:28:28 2001 @@ -56,12 +56,13 @@ return (result); } -int get_default_device(void) +int get_configs(ao_option_t ** op_h) { FILE *fp; char filename[FILENAME_MAX]; char line[100]; char *device = NULL; + char *device_options = NULL; char *homedir = getenv("HOME"); int i; @@ -74,15 +75,41 @@ strcat(filename, "/.ogg123rc"); fp = fopen(filename, &...
2001 Sep 02
1
ao-python 0.0.2 not building under latest libs
...pe or storage class src/aomodule.h:16: parse error before `*' src/aomodule.h:16: warning: data definition has no type or storage class src/aomodule.h:19: parse error before `*' src/aomodule.c:3: parse error before `*' src/aomodule.c: In function `dict_to_options': src/aomodule.c:8: `ao_option_t' undeclared (first use in this function) src/aomodule.c:8: (Each undeclared identifier is reported only once src/aomodule.c:8: for each function it appears in.) src/aomodule.c:8: `head' undeclared (first use in this function) src/aomodule.c:8: invalid lvalue in assignment src/aomodule.c:9:...
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@xiph.org' con...
2001 Mar 06
1
ao patch (fwd)
...@@ "ESounD output", "esd", "Stan Seibert <volsung@asu.edu>", - "Outputs to the Enlighted Sound Daemon." + "Outputs to the Enlightened Sound Daemon." }; void ao_esd_parse_options(ao_esd_internal_t *state, ao_option_t *options) Markus --- >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 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Un...
2001 Jan 02
0
ogg123: close_dsp_on_suspend and next_on_SIGUSR1 patches submission
...ice; + } +} + +void close_devices(void) +{ + devices *current; + + current = param.outdevices; + + while(current != NULL) + { + ao_close(current->device); + current = current->next_device; + } +} + int main (int argc, char **argv) { @@ -207,8 +259,6 @@ int option_index = 1; ao_option_t *temp_options = NULL; int temp_driver_id = -1; - devices *current; - int bits, rate, channels; ao_initialize(); @@ -291,37 +341,22 @@ exit (1); } - /* Open all of the devices */ - bits = 16; - rate = 44100; - channels = 2; - current = param.outdevices; - - if (param....