Commit 89d0dfc8 authored by Ludovic Fauvet's avatar Ludovic Fauvet Committed by Rémi Denis-Courmont

Export aout_Mixer functions to modules

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 02293a09
...@@ -48,6 +48,10 @@ struct audio_mixer ...@@ -48,6 +48,10 @@ struct audio_mixer
void (*mix)(audio_mixer_t *, block_t *, float); /**< Amplifier */ void (*mix)(audio_mixer_t *, block_t *, float); /**< Amplifier */
}; };
VLC_API audio_mixer_t *aout_MixerNew(vlc_object_t *, vlc_fourcc_t) VLC_USED;
VLC_API void aout_MixerDelete(audio_mixer_t *);
VLC_API void aout_MixerRun(audio_mixer_t *, block_t *, float);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
......
...@@ -141,10 +141,8 @@ void aout_FiltersDestroyPipeline( filter_t *const *, unsigned ); ...@@ -141,10 +141,8 @@ void aout_FiltersDestroyPipeline( filter_t *const *, unsigned );
void aout_FiltersPlay( filter_t *const *, unsigned, aout_buffer_t ** ); void aout_FiltersPlay( filter_t *const *, unsigned, aout_buffer_t ** );
/* From mixer.c : */ /* From mixer.c : */
struct audio_mixer *aout_MixerNew(vlc_object_t *, vlc_fourcc_t);
#define aout_MixerNew(o, f) aout_MixerNew(VLC_OBJECT(o), f) #define aout_MixerNew(o, f) aout_MixerNew(VLC_OBJECT(o), f)
void aout_MixerDelete(struct audio_mixer *);
void aout_MixerRun(struct audio_mixer *, block_t *, float);
float aout_ReplayGainSelect(vlc_object_t *, const char *, float aout_ReplayGainSelect(vlc_object_t *, const char *,
const audio_replay_gain_t *); const audio_replay_gain_t *);
#define aout_ReplayGainSelect(o, s, g) \ #define aout_ReplayGainSelect(o, s, g) \
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include <vlc_common.h> #include <vlc_common.h>
#include <vlc_aout.h> #include <vlc_aout.h>
#include <vlc_aout_mixer.h>
#include <vlc_input.h> #include <vlc_input.h>
#include <vlc_atomic.h> #include <vlc_atomic.h>
......
...@@ -17,6 +17,9 @@ aout_filter_RequestVout ...@@ -17,6 +17,9 @@ aout_filter_RequestVout
aout_FormatPrepare aout_FormatPrepare
aout_FormatPrint aout_FormatPrint
aout_FormatPrintChannels aout_FormatPrintChannels
aout_MixerDelete
aout_MixerNew
aout_MixerRun
aout_PacketInit aout_PacketInit
aout_PacketDestroy aout_PacketDestroy
aout_PacketPlay aout_PacketPlay
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment