Displaying 1 result from an estimated 1 matches for "value_ptr".
2000 Aug 12
1
libao patch: Minor clean up / Byte-order proposal
...vice Table --- */
-
-
-
/* --- 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(...