Signed-off-by: Rafaël Carré <funman@videolan.org>
typedef int (*AudioTrack_pause)(void *);
struct aout_sys_t {
+ float soft_gain;
+ bool soft_mute;
+
void *libmedia;
void *AudioTrack;
AudioTrack_pause at_pause;
};
+/* Soft volume helper */
+#include "volume.h"
+
static void *InitLibrary(struct aout_sys_t *p_sys);
static int Open(vlc_object_t *);
return VLC_EGENERIC;
}
+ aout_SoftVolumeStart(aout);
+
aout->sys = p_sys;
aout->time_get = NULL;
aout->play = Play;
aout->sys = sys;
aout->start = Start;
aout->stop = Stop;
- //aout_SoftVolumeInit(aout);
+ aout_SoftVolumeInit(aout);
return VLC_SUCCESS;
}