More documentation. Added mode argument to i/o_stdio_open.

This commit is contained in:
Abramo Bagnara 2001-03-29 09:10:46 +00:00
parent 53fc0f6332
commit de4cfc3e4b
12 changed files with 1525 additions and 784 deletions

View file

@ -273,7 +273,6 @@ void snd_hctl_set_callback_private(snd_hctl_t *hctl, void *data);
void *snd_hctl_get_callback_private(snd_hctl_t *hctl);
int snd_hctl_load(snd_hctl_t *hctl);
int snd_hctl_free(snd_hctl_t *hctl);
int snd_hctl_handle_event(snd_hctl_t *hctl, snd_ctl_event_t *event);
int snd_hctl_handle_events(snd_hctl_t *hctl);
const char *snd_hctl_name(snd_hctl_t *hctl);
snd_ctl_type_t snd_hctl_type(snd_hctl_t *hctl);

View file

@ -184,7 +184,7 @@ void snd_ctl_elem_value_set_name(snd_ctl_elem_value_t *obj, const char *val);
void snd_ctl_elem_value_set_index(snd_ctl_elem_value_t *obj, unsigned int val);
long snd_ctl_elem_value_get_boolean(const snd_ctl_elem_value_t *obj, unsigned int idx);
int snd_ctl_elem_value_get_boolean(const snd_ctl_elem_value_t *obj, unsigned int idx);
long snd_ctl_elem_value_get_integer(const snd_ctl_elem_value_t *obj, unsigned int idx);

View file

@ -14,7 +14,7 @@ typedef enum _snd_input_type {
extern "C" {
#endif
int snd_input_stdio_open(snd_input_t **inputp, const char *file);
int snd_input_stdio_open(snd_input_t **inputp, const char *file, const char *mode);
int snd_input_stdio_attach(snd_input_t **inputp, FILE *fp, int close);
int snd_input_buffer_open(snd_input_t **inputp, const char *buffer, int size);
int snd_input_close(snd_input_t *input);

View file

@ -14,7 +14,7 @@ typedef enum _snd_output_type {
extern "C" {
#endif
int snd_output_stdio_open(snd_output_t **outputp, const char *file);
int snd_output_stdio_open(snd_output_t **outputp, const char *file, const char *open);
int snd_output_stdio_attach(snd_output_t **outputp, FILE *fp, int close);
int snd_output_buffer_open(snd_output_t **outputp);
size_t snd_output_buffer_string(snd_output_t *output, char **buf);