From 2a7c5a1365ad194a42e3f667f85828a152544857 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Sat, 9 Apr 2011 03:03:22 +0300 Subject: audio: change external AO interface to "ao_[method](ao, ...)" Make the outside interface of audio output handling similar to the video output one. An AO object is first created, and then methods called with ao_[methodname](ao, args...). However internally libao2/ still holds all data in globals, and trying to create multiple simultaneous AO instances won't work. --- mixer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mixer.h') diff --git a/mixer.h b/mixer.h index 5a2d0e5027..a524c02b26 100644 --- a/mixer.h +++ b/mixer.h @@ -28,7 +28,7 @@ extern int soft_vol; extern float soft_vol_max; typedef struct mixer_s { - const ao_functions_t *audio_out; + struct ao *ao; af_stream_t *afilter; int volstep; int muted; -- cgit v1.2.3