Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
83660dd1
Commit
83660dd1
authored
Apr 26, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aout: export aout_Filters*() functions
parent
9804ce5c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
16 deletions
+21
-16
include/vlc_aout.h
include/vlc_aout.h
+15
-1
src/audio_output/aout_internal.h
src/audio_output/aout_internal.h
+2
-15
src/libvlccore.sym
src/libvlccore.sym
+4
-0
No files found.
include/vlc_aout.h
View file @
83660dd1
...
@@ -317,8 +317,22 @@ static inline int aout_ChannelsRestart (vlc_object_t *obj, const char *varname,
...
@@ -317,8 +317,22 @@ static inline int aout_ChannelsRestart (vlc_object_t *obj, const char *varname,
return
0
;
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
);
VLC_API
vout_thread_t
*
aout_filter_RequestVout
(
filter_t
*
,
vout_thread_t
*
p_vout
,
video_format_t
*
p_fmt
);
#endif
/* VLC_AOUT_H */
#endif
/* VLC_AOUT_H */
src/audio_output/aout_internal.h
View file @
83660dd1
...
@@ -35,14 +35,13 @@ enum {
...
@@ -35,14 +35,13 @@ enum {
AOUT_RESAMPLING_DOWN
AOUT_RESAMPLING_DOWN
};
};
typedef
struc
t
struct
aout_request_vou
t
{
{
struct
vout_thread_t
*
(
*
pf_request_vout
)(
void
*
,
struct
vout_thread_t
*
,
struct
vout_thread_t
*
(
*
pf_request_vout
)(
void
*
,
struct
vout_thread_t
*
,
video_format_t
*
,
bool
);
video_format_t
*
,
bool
);
void
*
p_private
;
void
*
p_private
;
}
aout_request_vout_t
;
};
typedef
struct
aout_filters
aout_filters_t
;
typedef
struct
aout_volume
aout_volume_t
;
typedef
struct
aout_volume
aout_volume_t
;
typedef
struct
aout_dev
aout_dev_t
;
typedef
struct
aout_dev
aout_dev_t
;
...
@@ -100,18 +99,6 @@ static inline aout_owner_t *aout_owner (audio_output_t *aout)
...
@@ -100,18 +99,6 @@ static inline aout_owner_t *aout_owner (audio_output_t *aout)
* Prototypes
* 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 : */
/* From mixer.c : */
aout_volume_t
*
aout_volume_New
(
vlc_object_t
*
,
const
audio_replay_gain_t
*
);
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)
#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
...
@@ -18,6 +18,10 @@ aout_MuteGet
aout_DeviceGet
aout_DeviceGet
aout_DeviceSet
aout_DeviceSet
aout_DevicesList
aout_DevicesList
aout_FiltersNew
aout_FiltersDelete
aout_FiltersPlay
aout_FiltersAdjustResampling
block_Alloc
block_Alloc
block_FifoCount
block_FifoCount
block_FifoEmpty
block_FifoEmpty
...
...
Write
Preview
Markdown
is supported
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