ao.h   ao.h 
skipping to change at line 105 skipping to change at line 105
int (*test)(void); int (*test)(void);
ao_info* (*driver_info)(void); ao_info* (*driver_info)(void);
int (*device_init)(ao_device *device); int (*device_init)(ao_device *device);
int (*set_option)(ao_device *device, const char *key, int (*set_option)(ao_device *device, const char *key,
const char *value); const char *value);
int (*open)(ao_device *device, ao_sample_format *format); int (*open)(ao_device *device, ao_sample_format *format);
int (*play)(ao_device *device, const char *output_samples, int (*play)(ao_device *device, const char *output_samples,
uint_32 num_bytes); uint_32 num_bytes);
int (*close)(ao_device *device); int (*close)(ao_device *device);
void (*device_clear)(ao_device *device); void (*device_clear)(ao_device *device);
char* (*file_extension)(void);
}; };
typedef struct ao_option { typedef struct ao_option {
char *key; char *key;
char *value; char *value;
struct ao_option *next; struct ao_option *next;
} ao_option; } ao_option;
/* --- Functions --- */ /* --- Functions --- */
skipping to change at line 136 skipping to change at line 137
ao_sample_format *format, ao_option *option); ao_sample_format *format, ao_option *option);
int ao_play(ao_device *device, char *output_samples, uint_32 num_bytes); int ao_play(ao_device *device, char *output_samples, uint_32 num_bytes);
int ao_close(ao_device *device); int ao_close(ao_device *device);
/* driver information */ /* driver information */
int ao_driver_id(const char *short_name); int ao_driver_id(const char *short_name);
int ao_default_driver_id(); int ao_default_driver_id();
ao_info *ao_driver_info(int driver_id); ao_info *ao_driver_info(int driver_id);
ao_info **ao_driver_info_list(int *driver_count); ao_info **ao_driver_info_list(int *driver_count);
char *ao_file_extension(int driver_id);
/* miscellaneous */ /* miscellaneous */
int ao_is_big_endian(void); int ao_is_big_endian(void);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* __AO_H__ */ #endif /* __AO_H__ */
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added


 plugin.h   plugin.h 
/* /*
* *
* plugin.h - function declarations for libao plugins * plugin.h - function declarations for libao plugins
* *
* Copyright (C) Stan Seibert - June 2001C * Copyright (C) Stan Seibert - June 2001
* *
* This file is part of libao, a cross-platform audio outputlibrary. See * This file is part of libao, a cross-platform audio outputlibrary. See
* README for a history of this source code. * README for a history of this source code.
* *
* libao is free software; you can redistribute it and/or modify * libao is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option) * the Free Software Foundation; either version 2, or (at your option)
* any later version. * any later version.
* *
* libao is distributed in the hope that it will be useful, * libao is distributed in the hope that it will be useful,
skipping to change at line 45 skipping to change at line 45
int ao_plugin_test(); int ao_plugin_test();
ao_info *ao_plugin_driver_info(); ao_info *ao_plugin_driver_info();
int ao_plugin_device_init(ao_device *device); int ao_plugin_device_init(ao_device *device);
int ao_plugin_set_option(ao_device *device, const char *key, const char *va lue); int ao_plugin_set_option(ao_device *device, const char *key, const char *va lue);
int ao_plugin_open(ao_device *device, ao_sample_format *format); int ao_plugin_open(ao_device *device, ao_sample_format *format);
int ao_plugin_play(ao_device *device, const char *output_samples, int ao_plugin_play(ao_device *device, const char *output_samples,
uint_32 num_bytes); uint_32 num_bytes);
int ao_plugin_close(ao_device *device); int ao_plugin_close(ao_device *device);
void ao_plugin_device_clear(ao_device *device); void ao_plugin_device_clear(ao_device *device);
char *ao_plugin_file_extension();
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* __PLUGIN_H__ */ #endif /* __PLUGIN_H__ */
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/