Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
83660dd1
Commit
83660dd1
authored
Apr 26, 2013
by
Rémi Denis-Courmont
Browse files
aout: export aout_Filters*() functions
parent
9804ce5c
Changes
3
Hide whitespace changes
Inline
Side-by-side
include/vlc_aout.h
View file @
83660dd1
...
...
@@ -317,8 +317,22 @@ static inline int aout_ChannelsRestart (vlc_object_t *obj, const char *varname,
return
0
;
}
/* Audio output filters */
typedef
struct
aout_filters
aout_filters_t
;
typedef
struct
aout_request_vout
aout_request_vout_t
;
VLC_API
aout_filters_t
*
aout_FiltersNew
(
vlc_object_t
*
,
const
audio_sample_format_t
*
,
const
audio_sample_format_t
*
,
const
aout_request_vout_t
*
)
VLC_USED
;
#define aout_FiltersNew(o,inf,outf,rv) \
aout_FiltersNew(VLC_OBJECT(o),inf,outf,rv)
VLC_API
void
aout_FiltersDelete
(
vlc_object_t
*
,
aout_filters_t
*
);
#define aout_FiltersDelete(o,f) \
aout_FiltersDelete(VLC_OBJECT(o),f)
VLC_API
bool
aout_FiltersAdjustResampling
(
aout_filters_t
*
,
int
);
VLC_API
block_t
*
aout_FiltersPlay
(
aout_filters_t
*
,
block_t
*
,
int
rate
);
/* */
VLC_API
vout_thread_t
*
aout_filter_RequestVout
(
filter_t
*
,
vout_thread_t
*
p_vout
,
video_format_t
*
p_fmt
);
#endif
/* VLC_AOUT_H */
src/audio_output/aout_internal.h
View file @
83660dd1
...
...
@@ -35,14 +35,13 @@ enum {
AOUT_RESAMPLING_DOWN
};
typedef
struc
t
struct
aout_request_vou
t
{
struct
vout_thread_t
*
(
*
pf_request_vout
)(
void
*
,
struct
vout_thread_t
*
,
video_format_t
*
,
bool
);
void
*
p_private
;
}
aout_request_vout_t
;
};
typedef
struct
aout_filters
aout_filters_t
;
typedef
struct
aout_volume
aout_volume_t
;
typedef
struct
aout_dev
aout_dev_t
;
...
...
@@ -100,18 +99,6 @@ static inline aout_owner_t *aout_owner (audio_output_t *aout)
* Prototypes
*****************************************************************************/
/* From filters.c : */
aout_filters_t
*
aout_FiltersNew
(
vlc_object_t
*
,
const
audio_sample_format_t
*
,
const
audio_sample_format_t
*
,
const
aout_request_vout_t
*
);
#define aout_FiltersNew(o,inf,outf,rv) \
aout_FiltersNew(VLC_OBJECT(o),inf,outf,rv)
void
aout_FiltersDelete
(
vlc_object_t
*
,
aout_filters_t
*
);
#define aout_FiltersDelete(o,f) \
aout_FiltersDelete(VLC_OBJECT(o),f)
bool
aout_FiltersAdjustResampling
(
aout_filters_t
*
,
int
);
block_t
*
aout_FiltersPlay
(
aout_filters_t
*
,
block_t
*
,
int
rate
);
/* From mixer.c : */
aout_volume_t
*
aout_volume_New
(
vlc_object_t
*
,
const
audio_replay_gain_t
*
);
#define aout_volume_New(o, g) aout_volume_New(VLC_OBJECT(o), g)
...
...
src/libvlccore.sym
View file @
83660dd1
...
...
@@ -18,6 +18,10 @@ aout_MuteGet
aout_DeviceGet
aout_DeviceSet
aout_DevicesList
aout_FiltersNew
aout_FiltersDelete
aout_FiltersPlay
aout_FiltersAdjustResampling
block_Alloc
block_FifoCount
block_FifoEmpty
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment