diff options
Diffstat (limited to 'libao2/audio_out.h')
-rw-r--r-- | libao2/audio_out.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libao2/audio_out.h b/libao2/audio_out.h index cbd913656b..1c472565a0 100644 --- a/libao2/audio_out.h +++ b/libao2/audio_out.h @@ -81,6 +81,7 @@ struct ao { const struct ao_driver *driver; void *priv; struct MPOpts *opts; + struct input_ctx *input_ctx; }; extern char *ao_subdevice; @@ -109,7 +110,7 @@ typedef struct ao_control_vol { float right; } ao_control_vol_t; -struct ao *ao_create(void); +struct ao *ao_create(struct MPOpts *opts, struct input_ctx *input); void ao_init(struct ao *ao, char **ao_list); void ao_uninit(struct ao *ao, bool cut_audio); int ao_play(struct ao *ao, void *data, int len, int flags); |